Skip to content

Files

Latest commit

cca4850 · May 22, 2025

History

History
8246 lines (5080 loc) · 427 KB
·

cloudfunctions2Function.typescript.md

File metadata and controls

8246 lines (5080 loc) · 427 KB
·

cloudfunctions2Function Submodule

Constructs

Cloudfunctions2Function

Represents a {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function google_cloudfunctions2_function}.

Initializers

import { cloudfunctions2Function } from '@cdktf/provider-google'

new cloudfunctions2Function.Cloudfunctions2Function(scope: Construct, id: string, config: Cloudfunctions2FunctionConfig)
Name Type Description
scope constructs.Construct The scope in which to define this construct.
id string The scoped construct ID.
config Cloudfunctions2FunctionConfig No description.

scopeRequired
  • Type: constructs.Construct

The scope in which to define this construct.


idRequired
  • Type: string

The scoped construct ID.

Must be unique amongst siblings in the same scope


configRequired

Methods

Name Description
toString Returns a string representation of this construct.
addOverride No description.
overrideLogicalId Overrides the auto-generated logical ID with a specific ID.
resetOverrideLogicalId Resets a previously passed logical Id to use the auto-generated logical id again.
toHclTerraform No description.
toMetadata No description.
toTerraform Adds this resource to the terraform JSON output.
addMoveTarget Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move.
getAnyMapAttribute No description.
getBooleanAttribute No description.
getBooleanMapAttribute No description.
getListAttribute No description.
getNumberAttribute No description.
getNumberListAttribute No description.
getNumberMapAttribute No description.
getStringAttribute No description.
getStringMapAttribute No description.
hasResourceMove No description.
importFrom No description.
interpolationForAttribute No description.
moveFromId Move the resource corresponding to "id" to this resource.
moveTo Moves this resource to the target resource given by moveTarget.
moveToId Moves this resource to the resource corresponding to "id".
putBuildConfig No description.
putEventTrigger No description.
putServiceConfig No description.
putTimeouts No description.
resetBuildConfig No description.
resetDescription No description.
resetEventTrigger No description.
resetId No description.
resetKmsKeyName No description.
resetLabels No description.
resetProject No description.
resetServiceConfig No description.
resetTimeouts No description.

toString
public toString(): string

Returns a string representation of this construct.

addOverride
public addOverride(path: string, value: any): void
pathRequired
  • Type: string

valueRequired
  • Type: any

overrideLogicalId
public overrideLogicalId(newLogicalId: string): void

Overrides the auto-generated logical ID with a specific ID.

newLogicalIdRequired
  • Type: string

The new logical ID to use for this stack element.


resetOverrideLogicalId
public resetOverrideLogicalId(): void

Resets a previously passed logical Id to use the auto-generated logical id again.

toHclTerraform
public toHclTerraform(): any
toMetadata
public toMetadata(): any
toTerraform
public toTerraform(): any

Adds this resource to the terraform JSON output.

addMoveTarget
public addMoveTarget(moveTarget: string): void

Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move.

moveTargetRequired
  • Type: string

The string move target that will correspond to this resource.


getAnyMapAttribute
public getAnyMapAttribute(terraformAttribute: string): {[ key: string ]: any}
terraformAttributeRequired
  • Type: string

getBooleanAttribute
public getBooleanAttribute(terraformAttribute: string): IResolvable
terraformAttributeRequired
  • Type: string

getBooleanMapAttribute
public getBooleanMapAttribute(terraformAttribute: string): {[ key: string ]: boolean}
terraformAttributeRequired
  • Type: string

getListAttribute
public getListAttribute(terraformAttribute: string): string[]
terraformAttributeRequired
  • Type: string

getNumberAttribute
public getNumberAttribute(terraformAttribute: string): number
terraformAttributeRequired
  • Type: string

getNumberListAttribute
public getNumberListAttribute(terraformAttribute: string): number[]
terraformAttributeRequired
  • Type: string

getNumberMapAttribute
public getNumberMapAttribute(terraformAttribute: string): {[ key: string ]: number}
terraformAttributeRequired
  • Type: string

getStringAttribute
public getStringAttribute(terraformAttribute: string): string
terraformAttributeRequired
  • Type: string

getStringMapAttribute
public getStringMapAttribute(terraformAttribute: string): {[ key: string ]: string}
terraformAttributeRequired
  • Type: string

hasResourceMove
public hasResourceMove(): TerraformResourceMoveByTarget | TerraformResourceMoveById
importFrom
public importFrom(id: string, provider?: TerraformProvider): void
idRequired
  • Type: string

providerOptional
  • Type: cdktf.TerraformProvider

interpolationForAttribute
public interpolationForAttribute(terraformAttribute: string): IResolvable
terraformAttributeRequired
  • Type: string

moveFromId
public moveFromId(id: string): void

Move the resource corresponding to "id" to this resource.

Note that the resource being moved from must be marked as moved using it's instance function.

idRequired
  • Type: string

Full id of resource being moved from, e.g. "aws_s3_bucket.example".


moveTo
public moveTo(moveTarget: string, index?: string | number): void

Moves this resource to the target resource given by moveTarget.

moveTargetRequired
  • Type: string

The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to.


indexOptional
  • Type: string | number

Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to.


moveToId
public moveToId(id: string): void

Moves this resource to the resource corresponding to "id".

idRequired
  • Type: string

Full id of resource to move to, e.g. "aws_s3_bucket.example".


putBuildConfig
public putBuildConfig(value: Cloudfunctions2FunctionBuildConfig): void
valueRequired

putEventTrigger
public putEventTrigger(value: Cloudfunctions2FunctionEventTrigger): void
valueRequired

putServiceConfig
public putServiceConfig(value: Cloudfunctions2FunctionServiceConfig): void
valueRequired

putTimeouts
public putTimeouts(value: Cloudfunctions2FunctionTimeouts): void
valueRequired

resetBuildConfig
public resetBuildConfig(): void
resetDescription
public resetDescription(): void
resetEventTrigger
public resetEventTrigger(): void
resetId
public resetId(): void
resetKmsKeyName
public resetKmsKeyName(): void
resetLabels
public resetLabels(): void
resetProject
public resetProject(): void
resetServiceConfig
public resetServiceConfig(): void
resetTimeouts
public resetTimeouts(): void

Static Functions

Name Description
isConstruct Checks if x is a construct.
isTerraformElement No description.
isTerraformResource No description.
generateConfigForImport Generates CDKTF code for importing a Cloudfunctions2Function resource upon running "cdktf plan ".

isConstruct
import { cloudfunctions2Function } from '@cdktf/provider-google'

cloudfunctions2Function.Cloudfunctions2Function.isConstruct(x: any)

Checks if x is a construct.

Use this method instead of instanceof to properly detect Construct instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the constructs library on disk are seen as independent, completely different libraries. As a consequence, the class Construct in each copy of the constructs library is seen as a different class, and an instance of one class will not test as instanceof the other class. npm install will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the constructs library can be accidentally installed, and instanceof will behave unpredictably. It is safest to avoid using instanceof, and using this type-testing method instead.

xRequired
  • Type: any

Any object.


isTerraformElement
import { cloudfunctions2Function } from '@cdktf/provider-google'

cloudfunctions2Function.Cloudfunctions2Function.isTerraformElement(x: any)
xRequired
  • Type: any

isTerraformResource
import { cloudfunctions2Function } from '@cdktf/provider-google'

cloudfunctions2Function.Cloudfunctions2Function.isTerraformResource(x: any)
xRequired
  • Type: any

generateConfigForImport
import { cloudfunctions2Function } from '@cdktf/provider-google'

cloudfunctions2Function.Cloudfunctions2Function.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider)

Generates CDKTF code for importing a Cloudfunctions2Function resource upon running "cdktf plan ".

scopeRequired
  • Type: constructs.Construct

The scope in which to define this construct.


importToIdRequired
  • Type: string

The construct id used in the generated config for the Cloudfunctions2Function to import.


importFromIdRequired
  • Type: string

The id of the existing Cloudfunctions2Function that should be imported.

Refer to the {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#import import section} in the documentation of this resource for the id to use


providerOptional
  • Type: cdktf.TerraformProvider

? Optional instance of the provider where the Cloudfunctions2Function to import is found.


Properties

Name Type Description
node constructs.Node The tree node.
cdktfStack cdktf.TerraformStack No description.
fqn string No description.
friendlyUniqueId string No description.
terraformMetaArguments {[ key: string ]: any} No description.
terraformResourceType string No description.
terraformGeneratorMetadata cdktf.TerraformProviderGeneratorMetadata No description.
connection cdktf.SSHProvisionerConnection | cdktf.WinrmProvisionerConnection No description.
count number | cdktf.TerraformCount No description.
dependsOn string[] No description.
forEach cdktf.ITerraformIterator No description.
lifecycle cdktf.TerraformResourceLifecycle No description.
provider cdktf.TerraformProvider No description.
provisioners cdktf.FileProvisioner | cdktf.LocalExecProvisioner | cdktf.RemoteExecProvisioner[] No description.
buildConfig Cloudfunctions2FunctionBuildConfigOutputReference No description.
effectiveLabels cdktf.StringMap No description.
environment string No description.
eventTrigger Cloudfunctions2FunctionEventTriggerOutputReference No description.
serviceConfig Cloudfunctions2FunctionServiceConfigOutputReference No description.
state string No description.
terraformLabels cdktf.StringMap No description.
timeouts Cloudfunctions2FunctionTimeoutsOutputReference No description.
updateTime string No description.
url string No description.
buildConfigInput Cloudfunctions2FunctionBuildConfig No description.
descriptionInput string No description.
eventTriggerInput Cloudfunctions2FunctionEventTrigger No description.
idInput string No description.
kmsKeyNameInput string No description.
labelsInput {[ key: string ]: string} No description.
locationInput string No description.
nameInput string No description.
projectInput string No description.
serviceConfigInput Cloudfunctions2FunctionServiceConfig No description.
timeoutsInput cdktf.IResolvable | Cloudfunctions2FunctionTimeouts No description.
description string No description.
id string No description.
kmsKeyName string No description.
labels {[ key: string ]: string} No description.
location string No description.
name string No description.
project string No description.

nodeRequired
public readonly node: Node;
  • Type: constructs.Node

The tree node.


cdktfStackRequired
public readonly cdktfStack: TerraformStack;
  • Type: cdktf.TerraformStack

fqnRequired
public readonly fqn: string;
  • Type: string

friendlyUniqueIdRequired
public readonly friendlyUniqueId: string;
  • Type: string

terraformMetaArgumentsRequired
public readonly terraformMetaArguments: {[ key: string ]: any};
  • Type: {[ key: string ]: any}

terraformResourceTypeRequired
public readonly terraformResourceType: string;
  • Type: string

terraformGeneratorMetadataOptional
public readonly terraformGeneratorMetadata: TerraformProviderGeneratorMetadata;
  • Type: cdktf.TerraformProviderGeneratorMetadata

connectionOptional
public readonly connection: SSHProvisionerConnection | WinrmProvisionerConnection;
  • Type: cdktf.SSHProvisionerConnection | cdktf.WinrmProvisionerConnection

countOptional
public readonly count: number | TerraformCount;
  • Type: number | cdktf.TerraformCount

dependsOnOptional
public readonly dependsOn: string[];
  • Type: string[]

forEachOptional
public readonly forEach: ITerraformIterator;
  • Type: cdktf.ITerraformIterator

lifecycleOptional
public readonly lifecycle: TerraformResourceLifecycle;
  • Type: cdktf.TerraformResourceLifecycle

providerOptional
public readonly provider: TerraformProvider;
  • Type: cdktf.TerraformProvider

provisionersOptional
public readonly provisioners: FileProvisioner | LocalExecProvisioner | RemoteExecProvisioner[];
  • Type: cdktf.FileProvisioner | cdktf.LocalExecProvisioner | cdktf.RemoteExecProvisioner[]

buildConfigRequired
public readonly buildConfig: Cloudfunctions2FunctionBuildConfigOutputReference;

effectiveLabelsRequired
public readonly effectiveLabels: StringMap;
  • Type: cdktf.StringMap

environmentRequired
public readonly environment: string;
  • Type: string

eventTriggerRequired
public readonly eventTrigger: Cloudfunctions2FunctionEventTriggerOutputReference;

serviceConfigRequired
public readonly serviceConfig: Cloudfunctions2FunctionServiceConfigOutputReference;

stateRequired
public readonly state: string;
  • Type: string

terraformLabelsRequired
public readonly terraformLabels: StringMap;
  • Type: cdktf.StringMap

timeoutsRequired
public readonly timeouts: Cloudfunctions2FunctionTimeoutsOutputReference;

updateTimeRequired
public readonly updateTime: string;
  • Type: string

urlRequired
public readonly url: string;
  • Type: string

buildConfigInputOptional
public readonly buildConfigInput: Cloudfunctions2FunctionBuildConfig;

descriptionInputOptional
public readonly descriptionInput: string;
  • Type: string

eventTriggerInputOptional
public readonly eventTriggerInput: Cloudfunctions2FunctionEventTrigger;

idInputOptional
public readonly idInput: string;
  • Type: string

kmsKeyNameInputOptional
public readonly kmsKeyNameInput: string;
  • Type: string

labelsInputOptional
public readonly labelsInput: {[ key: string ]: string};
  • Type: {[ key: string ]: string}

locationInputOptional
public readonly locationInput: string;
  • Type: string

nameInputOptional
public readonly nameInput: string;
  • Type: string

projectInputOptional
public readonly projectInput: string;
  • Type: string

serviceConfigInputOptional
public readonly serviceConfigInput: Cloudfunctions2FunctionServiceConfig;

timeoutsInputOptional
public readonly timeoutsInput: IResolvable | Cloudfunctions2FunctionTimeouts;

descriptionRequired
public readonly description: string;
  • Type: string

idRequired
public readonly id: string;
  • Type: string

kmsKeyNameRequired
public readonly kmsKeyName: string;
  • Type: string

labelsRequired
public readonly labels: {[ key: string ]: string};
  • Type: {[ key: string ]: string}

locationRequired
public readonly location: string;
  • Type: string

nameRequired
public readonly name: string;
  • Type: string

projectRequired
public readonly project: string;
  • Type: string

Constants

Name Type Description
tfResourceType string No description.

tfResourceTypeRequired
public readonly tfResourceType: string;
  • Type: string

Structs

Cloudfunctions2FunctionBuildConfig

Initializer

import { cloudfunctions2Function } from '@cdktf/provider-google'

const cloudfunctions2FunctionBuildConfig: cloudfunctions2Function.Cloudfunctions2FunctionBuildConfig = { ... }

Properties

Name Type Description
automaticUpdatePolicy Cloudfunctions2FunctionBuildConfigAutomaticUpdatePolicy automatic_update_policy block.
dockerRepository string User managed repository created in Artifact Registry optionally with a customer managed encryption key.
entryPoint string The name of the function (as defined in source code) that will be executed.
environmentVariables {[ key: string ]: string} User-provided build-time environment variables for the function.
onDeployUpdatePolicy Cloudfunctions2FunctionBuildConfigOnDeployUpdatePolicy on_deploy_update_policy block.
runtime string The runtime in which to run the function. Required when deploying a new function, optional when updating an existing function.
serviceAccount string The fully-qualified name of the service account to be used for building the container.
source Cloudfunctions2FunctionBuildConfigSource source block.
workerPool string Name of the Cloud Build Custom Worker Pool that should be used to build the function.

automaticUpdatePolicyOptional
public readonly automaticUpdatePolicy: Cloudfunctions2FunctionBuildConfigAutomaticUpdatePolicy;

automatic_update_policy block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#automatic_update_policy Cloudfunctions2Function#automatic_update_policy}


dockerRepositoryOptional
public readonly dockerRepository: string;
  • Type: string

User managed repository created in Artifact Registry optionally with a customer managed encryption key.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#docker_repository Cloudfunctions2Function#docker_repository}


entryPointOptional
public readonly entryPoint: string;
  • Type: string

The name of the function (as defined in source code) that will be executed.

Defaults to the resource name suffix, if not specified. For backward compatibility, if function with given name is not found, then the system will try to use function named "function". For Node.js this is name of a function exported by the module specified in source_location.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#entry_point Cloudfunctions2Function#entry_point}


environmentVariablesOptional
public readonly environmentVariables: {[ key: string ]: string};
  • Type: {[ key: string ]: string}

User-provided build-time environment variables for the function.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#environment_variables Cloudfunctions2Function#environment_variables}


onDeployUpdatePolicyOptional
public readonly onDeployUpdatePolicy: Cloudfunctions2FunctionBuildConfigOnDeployUpdatePolicy;

on_deploy_update_policy block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#on_deploy_update_policy Cloudfunctions2Function#on_deploy_update_policy}


runtimeOptional
public readonly runtime: string;
  • Type: string

The runtime in which to run the function. Required when deploying a new function, optional when updating an existing function.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#runtime Cloudfunctions2Function#runtime}


serviceAccountOptional
public readonly serviceAccount: string;
  • Type: string

The fully-qualified name of the service account to be used for building the container.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#service_account Cloudfunctions2Function#service_account}


sourceOptional
public readonly source: Cloudfunctions2FunctionBuildConfigSource;

source block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#source Cloudfunctions2Function#source}


workerPoolOptional
public readonly workerPool: string;
  • Type: string

Name of the Cloud Build Custom Worker Pool that should be used to build the function.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#worker_pool Cloudfunctions2Function#worker_pool}


Cloudfunctions2FunctionBuildConfigAutomaticUpdatePolicy

Initializer

import { cloudfunctions2Function } from '@cdktf/provider-google'

const cloudfunctions2FunctionBuildConfigAutomaticUpdatePolicy: cloudfunctions2Function.Cloudfunctions2FunctionBuildConfigAutomaticUpdatePolicy = { ... }

Cloudfunctions2FunctionBuildConfigOnDeployUpdatePolicy

Initializer

import { cloudfunctions2Function } from '@cdktf/provider-google'

const cloudfunctions2FunctionBuildConfigOnDeployUpdatePolicy: cloudfunctions2Function.Cloudfunctions2FunctionBuildConfigOnDeployUpdatePolicy = { ... }

Cloudfunctions2FunctionBuildConfigSource

Initializer

import { cloudfunctions2Function } from '@cdktf/provider-google'

const cloudfunctions2FunctionBuildConfigSource: cloudfunctions2Function.Cloudfunctions2FunctionBuildConfigSource = { ... }

Properties

Name Type Description
repoSource Cloudfunctions2FunctionBuildConfigSourceRepoSource repo_source block.
storageSource Cloudfunctions2FunctionBuildConfigSourceStorageSource storage_source block.

repoSourceOptional
public readonly repoSource: Cloudfunctions2FunctionBuildConfigSourceRepoSource;

repo_source block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#repo_source Cloudfunctions2Function#repo_source}


storageSourceOptional
public readonly storageSource: Cloudfunctions2FunctionBuildConfigSourceStorageSource;

storage_source block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#storage_source Cloudfunctions2Function#storage_source}


Cloudfunctions2FunctionBuildConfigSourceRepoSource

Initializer

import { cloudfunctions2Function } from '@cdktf/provider-google'

const cloudfunctions2FunctionBuildConfigSourceRepoSource: cloudfunctions2Function.Cloudfunctions2FunctionBuildConfigSourceRepoSource = { ... }

Properties

Name Type Description
branchName string Regex matching branches to build.
commitSha string Regex matching tags to build.
dir string Directory, relative to the source root, in which to run the build.
invertRegex boolean | cdktf.IResolvable Only trigger a build if the revision regex does NOT match the revision regex.
projectId string ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed.
repoName string Name of the Cloud Source Repository.
tagName string Regex matching tags to build.

branchNameOptional
public readonly branchName: string;
  • Type: string

Regex matching branches to build.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#branch_name Cloudfunctions2Function#branch_name}


commitShaOptional
public readonly commitSha: string;
  • Type: string

Regex matching tags to build.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#commit_sha Cloudfunctions2Function#commit_sha}


dirOptional
public readonly dir: string;
  • Type: string

Directory, relative to the source root, in which to run the build.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#dir Cloudfunctions2Function#dir}


invertRegexOptional
public readonly invertRegex: boolean | IResolvable;
  • Type: boolean | cdktf.IResolvable

Only trigger a build if the revision regex does NOT match the revision regex.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#invert_regex Cloudfunctions2Function#invert_regex}


projectIdOptional
public readonly projectId: string;
  • Type: string

ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#project_id Cloudfunctions2Function#project_id}


repoNameOptional
public readonly repoName: string;
  • Type: string

Name of the Cloud Source Repository.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#repo_name Cloudfunctions2Function#repo_name}


tagNameOptional
public readonly tagName: string;
  • Type: string

Regex matching tags to build.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#tag_name Cloudfunctions2Function#tag_name}


Cloudfunctions2FunctionBuildConfigSourceStorageSource

Initializer

import { cloudfunctions2Function } from '@cdktf/provider-google'

const cloudfunctions2FunctionBuildConfigSourceStorageSource: cloudfunctions2Function.Cloudfunctions2FunctionBuildConfigSourceStorageSource = { ... }

Properties

Name Type Description
bucket string Google Cloud Storage bucket containing the source.
generation number Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used.
object string Google Cloud Storage object containing the source.

bucketOptional
public readonly bucket: string;
  • Type: string

Google Cloud Storage bucket containing the source.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#bucket Cloudfunctions2Function#bucket}


generationOptional
public readonly generation: number;
  • Type: number

Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#generation Cloudfunctions2Function#generation}


objectOptional
public readonly object: string;
  • Type: string

Google Cloud Storage object containing the source.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#object Cloudfunctions2Function#object}


Cloudfunctions2FunctionConfig

Initializer

import { cloudfunctions2Function } from '@cdktf/provider-google'

const cloudfunctions2FunctionConfig: cloudfunctions2Function.Cloudfunctions2FunctionConfig = { ... }

Properties

Name Type Description
connection cdktf.SSHProvisionerConnection | cdktf.WinrmProvisionerConnection No description.
count number | cdktf.TerraformCount No description.
dependsOn cdktf.ITerraformDependable[] No description.
forEach cdktf.ITerraformIterator No description.
lifecycle cdktf.TerraformResourceLifecycle No description.
provider cdktf.TerraformProvider No description.
provisioners cdktf.FileProvisioner | cdktf.LocalExecProvisioner | cdktf.RemoteExecProvisioner[] No description.
location string The location of this cloud function.
name string A user-defined name of the function. Function names must be unique globally and match pattern 'projects/* /locations/* /functions/*'.
buildConfig Cloudfunctions2FunctionBuildConfig build_config block.
description string User-provided description of a function.
eventTrigger Cloudfunctions2FunctionEventTrigger event_trigger block.
id string Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#id Cloudfunctions2Function#id}.
kmsKeyName string Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt function resources.
labels {[ key: string ]: string} A set of key/value label pairs associated with this Cloud Function.
project string Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#project Cloudfunctions2Function#project}.
serviceConfig Cloudfunctions2FunctionServiceConfig service_config block.
timeouts Cloudfunctions2FunctionTimeouts timeouts block.

connectionOptional
public readonly connection: SSHProvisionerConnection | WinrmProvisionerConnection;
  • Type: cdktf.SSHProvisionerConnection | cdktf.WinrmProvisionerConnection

countOptional
public readonly count: number | TerraformCount;
  • Type: number | cdktf.TerraformCount

dependsOnOptional
public readonly dependsOn: ITerraformDependable[];
  • Type: cdktf.ITerraformDependable[]

forEachOptional
public readonly forEach: ITerraformIterator;
  • Type: cdktf.ITerraformIterator

lifecycleOptional
public readonly lifecycle: TerraformResourceLifecycle;
  • Type: cdktf.TerraformResourceLifecycle

providerOptional
public readonly provider: TerraformProvider;
  • Type: cdktf.TerraformProvider

provisionersOptional
public readonly provisioners: FileProvisioner | LocalExecProvisioner | RemoteExecProvisioner[];
  • Type: cdktf.FileProvisioner | cdktf.LocalExecProvisioner | cdktf.RemoteExecProvisioner[]

locationRequired
public readonly location: string;
  • Type: string

The location of this cloud function.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#location Cloudfunctions2Function#location}


nameRequired
public readonly name: string;
  • Type: string

A user-defined name of the function. Function names must be unique globally and match pattern 'projects/* /locations/* /functions/*'.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#name Cloudfunctions2Function#name}

Note: The above comment contained a comment block ending sequence (* followed by /). We have introduced a space between to prevent syntax errors. Please ignore the space.


buildConfigOptional
public readonly buildConfig: Cloudfunctions2FunctionBuildConfig;

build_config block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#build_config Cloudfunctions2Function#build_config}


descriptionOptional
public readonly description: string;
  • Type: string

User-provided description of a function.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#description Cloudfunctions2Function#description}


eventTriggerOptional
public readonly eventTrigger: Cloudfunctions2FunctionEventTrigger;

event_trigger block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#event_trigger Cloudfunctions2Function#event_trigger}


idOptional
public readonly id: string;
  • Type: string

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#id Cloudfunctions2Function#id}.

Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.


kmsKeyNameOptional
public readonly kmsKeyName: string;
  • Type: string

Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt function resources.

It must match the pattern projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#kms_key_name Cloudfunctions2Function#kms_key_name}


labelsOptional
public readonly labels: {[ key: string ]: string};
  • Type: {[ key: string ]: string}

A set of key/value label pairs associated with this Cloud Function.

Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#labels Cloudfunctions2Function#labels}


projectOptional
public readonly project: string;
  • Type: string

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#project Cloudfunctions2Function#project}.


serviceConfigOptional
public readonly serviceConfig: Cloudfunctions2FunctionServiceConfig;

service_config block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#service_config Cloudfunctions2Function#service_config}


timeoutsOptional
public readonly timeouts: Cloudfunctions2FunctionTimeouts;

timeouts block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#timeouts Cloudfunctions2Function#timeouts}


Cloudfunctions2FunctionEventTrigger

Initializer

import { cloudfunctions2Function } from '@cdktf/provider-google'

const cloudfunctions2FunctionEventTrigger: cloudfunctions2Function.Cloudfunctions2FunctionEventTrigger = { ... }

Properties

Name Type Description
eventFilters cdktf.IResolvable | Cloudfunctions2FunctionEventTriggerEventFilters[] event_filters block.
eventType string Required. The type of event to observe.
pubsubTopic string The name of a Pub/Sub topic in the same project that will be used as the transport topic for the event delivery.
retryPolicy string Describes the retry policy in case of function's execution failure.
serviceAccountEmail string Optional.
triggerRegion string The region that the trigger will be in.

eventFiltersOptional
public readonly eventFilters: IResolvable | Cloudfunctions2FunctionEventTriggerEventFilters[];

event_filters block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#event_filters Cloudfunctions2Function#event_filters}


eventTypeOptional
public readonly eventType: string;
  • Type: string

Required. The type of event to observe.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#event_type Cloudfunctions2Function#event_type}


pubsubTopicOptional
public readonly pubsubTopic: string;
  • Type: string

The name of a Pub/Sub topic in the same project that will be used as the transport topic for the event delivery.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#pubsub_topic Cloudfunctions2Function#pubsub_topic}


retryPolicyOptional
public readonly retryPolicy: string;
  • Type: string

Describes the retry policy in case of function's execution failure.

Retried execution is charged as any other execution. Possible values: ["RETRY_POLICY_UNSPECIFIED", "RETRY_POLICY_DO_NOT_RETRY", "RETRY_POLICY_RETRY"]

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#retry_policy Cloudfunctions2Function#retry_policy}


serviceAccountEmailOptional
public readonly serviceAccountEmail: string;
  • Type: string

Optional.

The email of the trigger's service account. The service account must have permission to invoke Cloud Run services. If empty, defaults to the Compute Engine default service account: {project_number}-compute@developer.gserviceaccount.com.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#service_account_email Cloudfunctions2Function#service_account_email}


triggerRegionOptional
public readonly triggerRegion: string;
  • Type: string

The region that the trigger will be in.

The trigger will only receive events originating in this region. It can be the same region as the function, a different region or multi-region, or the global region. If not provided, defaults to the same region as the function.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#trigger_region Cloudfunctions2Function#trigger_region}


Cloudfunctions2FunctionEventTriggerEventFilters

Initializer

import { cloudfunctions2Function } from '@cdktf/provider-google'

const cloudfunctions2FunctionEventTriggerEventFilters: cloudfunctions2Function.Cloudfunctions2FunctionEventTriggerEventFilters = { ... }

Properties

Name Type Description
attribute string 'Required.
value string Required.
operator string Optional.

attributeRequired
public readonly attribute: string;
  • Type: string

'Required.

The name of a CloudEvents attribute. Currently, only a subset of attributes are supported for filtering. Use the 'gcloud eventarc providers describe' command to learn more about events and their attributes. Do not filter for the 'type' attribute here, as this is already achieved by the resource's 'event_type' attribute.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#attribute Cloudfunctions2Function#attribute}


valueRequired
public readonly value: string;
  • Type: string

Required.

The value for the attribute. If the operator field is set as 'match-path-pattern', this value can be a path pattern instead of an exact value.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#value Cloudfunctions2Function#value}


operatorOptional
public readonly operator: string;
  • Type: string

Optional.

The operator used for matching the events with the value of the filter. If not specified, only events that have an exact key-value pair specified in the filter are matched. The only allowed value is 'match-path-pattern'. See documentation on path patterns here'

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#operator Cloudfunctions2Function#operator}


Cloudfunctions2FunctionServiceConfig

Initializer

import { cloudfunctions2Function } from '@cdktf/provider-google'

const cloudfunctions2FunctionServiceConfig: cloudfunctions2Function.Cloudfunctions2FunctionServiceConfig = { ... }

Properties

Name Type Description
allTrafficOnLatestRevision boolean | cdktf.IResolvable Whether 100% of traffic is routed to the latest revision. Defaults to true.
availableCpu string The number of CPUs used in a single container instance. Default value is calculated from available memory.
availableMemory string The amount of memory available for a function.
binaryAuthorizationPolicy string The binary authorization policy to be checked when deploying the Cloud Run service.
environmentVariables {[ key: string ]: string} Environment variables that shall be available during function execution.
ingressSettings string Available ingress settings. Defaults to "ALLOW_ALL" if unspecified. Default value: "ALLOW_ALL" Possible values: ["ALLOW_ALL", "ALLOW_INTERNAL_ONLY", "ALLOW_INTERNAL_AND_GCLB"].
maxInstanceCount number The limit on the maximum number of function instances that may coexist at a given time.
maxInstanceRequestConcurrency number Sets the maximum number of concurrent requests that each instance can receive. Defaults to 1.
minInstanceCount number The limit on the minimum number of function instances that may coexist at a given time.
secretEnvironmentVariables cdktf.IResolvable | Cloudfunctions2FunctionServiceConfigSecretEnvironmentVariables[] secret_environment_variables block.
secretVolumes cdktf.IResolvable | Cloudfunctions2FunctionServiceConfigSecretVolumes[] secret_volumes block.
service string Name of the service associated with a Function.
serviceAccountEmail string The email of the service account for this function.
timeoutSeconds number The function execution timeout.
vpcConnector string The Serverless VPC Access connector that this cloud function can connect to.
vpcConnectorEgressSettings string Available egress settings. Possible values: ["VPC_CONNECTOR_EGRESS_SETTINGS_UNSPECIFIED", "PRIVATE_RANGES_ONLY", "ALL_TRAFFIC"].

allTrafficOnLatestRevisionOptional
public readonly allTrafficOnLatestRevision: boolean | IResolvable;
  • Type: boolean | cdktf.IResolvable

Whether 100% of traffic is routed to the latest revision. Defaults to true.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#all_traffic_on_latest_revision Cloudfunctions2Function#all_traffic_on_latest_revision}


availableCpuOptional
public readonly availableCpu: string;
  • Type: string

The number of CPUs used in a single container instance. Default value is calculated from available memory.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#available_cpu Cloudfunctions2Function#available_cpu}


availableMemoryOptional
public readonly availableMemory: string;
  • Type: string

The amount of memory available for a function.

Defaults to 256M. Supported units are k, M, G, Mi, Gi. If no unit is supplied the value is interpreted as bytes.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#available_memory Cloudfunctions2Function#available_memory}


binaryAuthorizationPolicyOptional
public readonly binaryAuthorizationPolicy: string;
  • Type: string

The binary authorization policy to be checked when deploying the Cloud Run service.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#binary_authorization_policy Cloudfunctions2Function#binary_authorization_policy}


environmentVariablesOptional
public readonly environmentVariables: {[ key: string ]: string};
  • Type: {[ key: string ]: string}

Environment variables that shall be available during function execution.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#environment_variables Cloudfunctions2Function#environment_variables}


ingressSettingsOptional
public readonly ingressSettings: string;
  • Type: string

Available ingress settings. Defaults to "ALLOW_ALL" if unspecified. Default value: "ALLOW_ALL" Possible values: ["ALLOW_ALL", "ALLOW_INTERNAL_ONLY", "ALLOW_INTERNAL_AND_GCLB"].

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#ingress_settings Cloudfunctions2Function#ingress_settings}


maxInstanceCountOptional
public readonly maxInstanceCount: number;
  • Type: number

The limit on the maximum number of function instances that may coexist at a given time.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#max_instance_count Cloudfunctions2Function#max_instance_count}


maxInstanceRequestConcurrencyOptional
public readonly maxInstanceRequestConcurrency: number;
  • Type: number

Sets the maximum number of concurrent requests that each instance can receive. Defaults to 1.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#max_instance_request_concurrency Cloudfunctions2Function#max_instance_request_concurrency}


minInstanceCountOptional
public readonly minInstanceCount: number;
  • Type: number

The limit on the minimum number of function instances that may coexist at a given time.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#min_instance_count Cloudfunctions2Function#min_instance_count}


secretEnvironmentVariablesOptional
public readonly secretEnvironmentVariables: IResolvable | Cloudfunctions2FunctionServiceConfigSecretEnvironmentVariables[];

secret_environment_variables block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#secret_environment_variables Cloudfunctions2Function#secret_environment_variables}


secretVolumesOptional
public readonly secretVolumes: IResolvable | Cloudfunctions2FunctionServiceConfigSecretVolumes[];

secret_volumes block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#secret_volumes Cloudfunctions2Function#secret_volumes}


serviceOptional
public readonly service: string;
  • Type: string

Name of the service associated with a Function.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#service Cloudfunctions2Function#service}


serviceAccountEmailOptional
public readonly serviceAccountEmail: string;
  • Type: string

The email of the service account for this function.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#service_account_email Cloudfunctions2Function#service_account_email}


timeoutSecondsOptional
public readonly timeoutSeconds: number;
  • Type: number

The function execution timeout.

Execution is considered failed and can be terminated if the function is not completed at the end of the timeout period. Defaults to 60 seconds.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#timeout_seconds Cloudfunctions2Function#timeout_seconds}


vpcConnectorOptional
public readonly vpcConnector: string;
  • Type: string

The Serverless VPC Access connector that this cloud function can connect to.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#vpc_connector Cloudfunctions2Function#vpc_connector}


vpcConnectorEgressSettingsOptional
public readonly vpcConnectorEgressSettings: string;
  • Type: string

Available egress settings. Possible values: ["VPC_CONNECTOR_EGRESS_SETTINGS_UNSPECIFIED", "PRIVATE_RANGES_ONLY", "ALL_TRAFFIC"].

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#vpc_connector_egress_settings Cloudfunctions2Function#vpc_connector_egress_settings}


Cloudfunctions2FunctionServiceConfigSecretEnvironmentVariables

Initializer

import { cloudfunctions2Function } from '@cdktf/provider-google'

const cloudfunctions2FunctionServiceConfigSecretEnvironmentVariables: cloudfunctions2Function.Cloudfunctions2FunctionServiceConfigSecretEnvironmentVariables = { ... }

Properties

Name Type Description
key string Name of the environment variable.
projectId string Project identifier (preferably project number but can also be the project ID) of the project that contains the secret.
secret string Name of the secret in secret manager (not the full resource name).
version string Version of the secret (version number or the string 'latest').

keyRequired
public readonly key: string;
  • Type: string

Name of the environment variable.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#key Cloudfunctions2Function#key}


projectIdRequired
public readonly projectId: string;
  • Type: string

Project identifier (preferably project number but can also be the project ID) of the project that contains the secret.

If not set, it will be populated with the function's project assuming that the secret exists in the same project as of the function.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#project_id Cloudfunctions2Function#project_id}


secretRequired
public readonly secret: string;
  • Type: string

Name of the secret in secret manager (not the full resource name).

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#secret Cloudfunctions2Function#secret}


versionRequired
public readonly version: string;
  • Type: string

Version of the secret (version number or the string 'latest').

It is recommended to use a numeric version for secret environment variables as any updates to the secret value is not reflected until new instances start.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#version Cloudfunctions2Function#version}


Cloudfunctions2FunctionServiceConfigSecretVolumes

Initializer

import { cloudfunctions2Function } from '@cdktf/provider-google'

const cloudfunctions2FunctionServiceConfigSecretVolumes: cloudfunctions2Function.Cloudfunctions2FunctionServiceConfigSecretVolumes = { ... }

Properties

Name Type Description
mountPath string The path within the container to mount the secret volume.
projectId string Project identifier (preferably project number but can also be the project ID) of the project that contains the secret.
secret string Name of the secret in secret manager (not the full resource name).
versions cdktf.IResolvable | Cloudfunctions2FunctionServiceConfigSecretVolumesVersions[] versions block.

mountPathRequired
public readonly mountPath: string;
  • Type: string

The path within the container to mount the secret volume.

For example, setting the mountPath as /etc/secrets would mount the secret value files under the /etc/secrets directory. This directory will also be completely shadowed and unavailable to mount any other secrets. Recommended mount path: /etc/secrets

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#mount_path Cloudfunctions2Function#mount_path}


projectIdRequired
public readonly projectId: string;
  • Type: string

Project identifier (preferably project number but can also be the project ID) of the project that contains the secret.

If not set, it will be populated with the function's project assuming that the secret exists in the same project as of the function.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#project_id Cloudfunctions2Function#project_id}


secretRequired
public readonly secret: string;
  • Type: string

Name of the secret in secret manager (not the full resource name).

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#secret Cloudfunctions2Function#secret}


versionsOptional
public readonly versions: IResolvable | Cloudfunctions2FunctionServiceConfigSecretVolumesVersions[];

versions block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#versions Cloudfunctions2Function#versions}


Cloudfunctions2FunctionServiceConfigSecretVolumesVersions

Initializer

import { cloudfunctions2Function } from '@cdktf/provider-google'

const cloudfunctions2FunctionServiceConfigSecretVolumesVersions: cloudfunctions2Function.Cloudfunctions2FunctionServiceConfigSecretVolumesVersions = { ... }

Properties

Name Type Description
path string Relative path of the file under the mount path where the secret value for this version will be fetched and made available.
version string Version of the secret (version number or the string 'latest').

pathRequired
public readonly path: string;
  • Type: string

Relative path of the file under the mount path where the secret value for this version will be fetched and made available.

For example, setting the mountPath as '/etc/secrets' and path as secret_foo would mount the secret value file at /etc/secrets/secret_foo.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#path Cloudfunctions2Function#path}


versionRequired
public readonly version: string;
  • Type: string

Version of the secret (version number or the string 'latest').

It is preferable to use latest version with secret volumes as secret value changes are reflected immediately.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#version Cloudfunctions2Function#version}


Cloudfunctions2FunctionTimeouts

Initializer

import { cloudfunctions2Function } from '@cdktf/provider-google'

const cloudfunctions2FunctionTimeouts: cloudfunctions2Function.Cloudfunctions2FunctionTimeouts = { ... }

Properties

Name Type Description
create string Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#create Cloudfunctions2Function#create}.
delete string Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#delete Cloudfunctions2Function#delete}.
update string Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#update Cloudfunctions2Function#update}.

createOptional
public readonly create: string;
  • Type: string

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#create Cloudfunctions2Function#create}.


deleteOptional
public readonly delete: string;
  • Type: string

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#delete Cloudfunctions2Function#delete}.


updateOptional
public readonly update: string;
  • Type: string

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#update Cloudfunctions2Function#update}.


Classes

Cloudfunctions2FunctionBuildConfigAutomaticUpdatePolicyOutputReference

Initializers

import { cloudfunctions2Function } from '@cdktf/provider-google'

new cloudfunctions2Function.Cloudfunctions2FunctionBuildConfigAutomaticUpdatePolicyOutputReference(terraformResource: IInterpolatingParent, terraformAttribute: string)
Name Type Description
terraformResource cdktf.IInterpolatingParent The parent resource.
terraformAttribute string The attribute on the parent resource this class is referencing.

terraformResourceRequired
  • Type: cdktf.IInterpolatingParent

The parent resource.


terraformAttributeRequired
  • Type: string

The attribute on the parent resource this class is referencing.


Methods

Name Description
computeFqn No description.
getAnyMapAttribute No description.
getBooleanAttribute No description.
getBooleanMapAttribute No description.
getListAttribute No description.
getNumberAttribute No description.
getNumberListAttribute No description.
getNumberMapAttribute No description.
getStringAttribute No description.
getStringMapAttribute No description.
interpolationForAttribute No description.
resolve Produce the Token's value at resolution time.
toString Return a string representation of this resolvable object.

computeFqn
public computeFqn(): string
getAnyMapAttribute
public getAnyMapAttribute(terraformAttribute: string): {[ key: string ]: any}
terraformAttributeRequired
  • Type: string

getBooleanAttribute
public getBooleanAttribute(terraformAttribute: string): IResolvable
terraformAttributeRequired
  • Type: string

getBooleanMapAttribute
public getBooleanMapAttribute(terraformAttribute: string): {[ key: string ]: boolean}
terraformAttributeRequired
  • Type: string

getListAttribute
public getListAttribute(terraformAttribute: string): string[]
terraformAttributeRequired
  • Type: string

getNumberAttribute
public getNumberAttribute(terraformAttribute: string): number
terraformAttributeRequired
  • Type: string

getNumberListAttribute
public getNumberListAttribute(terraformAttribute: string): number[]
terraformAttributeRequired
  • Type: string

getNumberMapAttribute
public getNumberMapAttribute(terraformAttribute: string): {[ key: string ]: number}
terraformAttributeRequired
  • Type: string

getStringAttribute
public getStringAttribute(terraformAttribute: string): string
terraformAttributeRequired
  • Type: string

getStringMapAttribute
public getStringMapAttribute(terraformAttribute: string): {[ key: string ]: string}
terraformAttributeRequired
  • Type: string

interpolationForAttribute
public interpolationForAttribute(property: string): IResolvable
propertyRequired
  • Type: string

resolve
public resolve(_context: IResolveContext): any

Produce the Token's value at resolution time.

_contextRequired
  • Type: cdktf.IResolveContext

toString
public toString(): string

Return a string representation of this resolvable object.

Returns a reversible string representation.

Properties

Name Type Description
creationStack string[] The creation stack of this resolvable which will be appended to errors thrown during resolution.
fqn string No description.
internalValue Cloudfunctions2FunctionBuildConfigAutomaticUpdatePolicy No description.

creationStackRequired
public readonly creationStack: string[];
  • Type: string[]

The creation stack of this resolvable which will be appended to errors thrown during resolution.

If this returns an empty array the stack will not be attached.


fqnRequired
public readonly fqn: string;
  • Type: string

internalValueOptional
public readonly internalValue: Cloudfunctions2FunctionBuildConfigAutomaticUpdatePolicy;

Cloudfunctions2FunctionBuildConfigOnDeployUpdatePolicyOutputReference

Initializers

import { cloudfunctions2Function } from '@cdktf/provider-google'

new cloudfunctions2Function.Cloudfunctions2FunctionBuildConfigOnDeployUpdatePolicyOutputReference(terraformResource: IInterpolatingParent, terraformAttribute: string)
Name Type Description
terraformResource cdktf.IInterpolatingParent The parent resource.
terraformAttribute string The attribute on the parent resource this class is referencing.

terraformResourceRequired
  • Type: cdktf.IInterpolatingParent

The parent resource.


terraformAttributeRequired
  • Type: string

The attribute on the parent resource this class is referencing.


Methods

Name Description
computeFqn No description.
getAnyMapAttribute No description.
getBooleanAttribute No description.
getBooleanMapAttribute No description.
getListAttribute No description.
getNumberAttribute No description.
getNumberListAttribute No description.
getNumberMapAttribute No description.
getStringAttribute No description.
getStringMapAttribute No description.
interpolationForAttribute No description.
resolve Produce the Token's value at resolution time.
toString Return a string representation of this resolvable object.

computeFqn
public computeFqn(): string
getAnyMapAttribute
public getAnyMapAttribute(terraformAttribute: string): {[ key: string ]: any}
terraformAttributeRequired
  • Type: string

getBooleanAttribute
public getBooleanAttribute(terraformAttribute: string): IResolvable
terraformAttributeRequired
  • Type: string

getBooleanMapAttribute
public getBooleanMapAttribute(terraformAttribute: string): {[ key: string ]: boolean}
terraformAttributeRequired
  • Type: string

getListAttribute
public getListAttribute(terraformAttribute: string): string[]
terraformAttributeRequired
  • Type: string

getNumberAttribute
public getNumberAttribute(terraformAttribute: string): number
terraformAttributeRequired
  • Type: string

getNumberListAttribute
public getNumberListAttribute(terraformAttribute: string): number[]
terraformAttributeRequired
  • Type: string

getNumberMapAttribute
public getNumberMapAttribute(terraformAttribute: string): {[ key: string ]: number}
terraformAttributeRequired
  • Type: string

getStringAttribute
public getStringAttribute(terraformAttribute: string): string
terraformAttributeRequired
  • Type: string

getStringMapAttribute
public getStringMapAttribute(terraformAttribute: string): {[ key: string ]: string}
terraformAttributeRequired
  • Type: string

interpolationForAttribute
public interpolationForAttribute(property: string): IResolvable
propertyRequired
  • Type: string

resolve
public resolve(_context: IResolveContext): any

Produce the Token's value at resolution time.

_contextRequired
  • Type: cdktf.IResolveContext

toString
public toString(): string

Return a string representation of this resolvable object.

Returns a reversible string representation.

Properties

Name Type Description
creationStack string[] The creation stack of this resolvable which will be appended to errors thrown during resolution.
fqn string No description.
runtimeVersion string No description.
internalValue Cloudfunctions2FunctionBuildConfigOnDeployUpdatePolicy No description.

creationStackRequired
public readonly creationStack: string[];
  • Type: string[]

The creation stack of this resolvable which will be appended to errors thrown during resolution.

If this returns an empty array the stack will not be attached.


fqnRequired
public readonly fqn: string;
  • Type: string

runtimeVersionRequired
public readonly runtimeVersion: string;
  • Type: string

internalValueOptional
public readonly internalValue: Cloudfunctions2FunctionBuildConfigOnDeployUpdatePolicy;

Cloudfunctions2FunctionBuildConfigOutputReference

Initializers

import { cloudfunctions2Function } from '@cdktf/provider-google'

new cloudfunctions2Function.Cloudfunctions2FunctionBuildConfigOutputReference(terraformResource: IInterpolatingParent, terraformAttribute: string)
Name Type Description
terraformResource cdktf.IInterpolatingParent The parent resource.
terraformAttribute string The attribute on the parent resource this class is referencing.

terraformResourceRequired
  • Type: cdktf.IInterpolatingParent

The parent resource.


terraformAttributeRequired
  • Type: string

The attribute on the parent resource this class is referencing.


Methods

Name Description
computeFqn No description.
getAnyMapAttribute No description.
getBooleanAttribute No description.
getBooleanMapAttribute No description.
getListAttribute No description.
getNumberAttribute No description.
getNumberListAttribute No description.
getNumberMapAttribute No description.
getStringAttribute No description.
getStringMapAttribute No description.
interpolationForAttribute No description.
resolve Produce the Token's value at resolution time.
toString Return a string representation of this resolvable object.
putAutomaticUpdatePolicy No description.
putOnDeployUpdatePolicy No description.
putSource No description.
resetAutomaticUpdatePolicy No description.
resetDockerRepository No description.
resetEntryPoint No description.
resetEnvironmentVariables No description.
resetOnDeployUpdatePolicy No description.
resetRuntime No description.
resetServiceAccount No description.
resetSource No description.
resetWorkerPool No description.

computeFqn
public computeFqn(): string
getAnyMapAttribute
public getAnyMapAttribute(terraformAttribute: string): {[ key: string ]: any}
terraformAttributeRequired
  • Type: string

getBooleanAttribute
public getBooleanAttribute(terraformAttribute: string): IResolvable
terraformAttributeRequired
  • Type: string

getBooleanMapAttribute
public getBooleanMapAttribute(terraformAttribute: string): {[ key: string ]: boolean}
terraformAttributeRequired
  • Type: string

getListAttribute
public getListAttribute(terraformAttribute: string): string[]
terraformAttributeRequired
  • Type: string

getNumberAttribute
public getNumberAttribute(terraformAttribute: string): number
terraformAttributeRequired
  • Type: string

getNumberListAttribute
public getNumberListAttribute(terraformAttribute: string): number[]
terraformAttributeRequired
  • Type: string

getNumberMapAttribute
public getNumberMapAttribute(terraformAttribute: string): {[ key: string ]: number}
terraformAttributeRequired
  • Type: string

getStringAttribute
public getStringAttribute(terraformAttribute: string): string
terraformAttributeRequired
  • Type: string

getStringMapAttribute
public getStringMapAttribute(terraformAttribute: string): {[ key: string ]: string}
terraformAttributeRequired
  • Type: string

interpolationForAttribute
public interpolationForAttribute(property: string): IResolvable
propertyRequired
  • Type: string

resolve
public resolve(_context: IResolveContext): any

Produce the Token's value at resolution time.

_contextRequired
  • Type: cdktf.IResolveContext

toString
public toString(): string

Return a string representation of this resolvable object.

Returns a reversible string representation.

putAutomaticUpdatePolicy
public putAutomaticUpdatePolicy(value: Cloudfunctions2FunctionBuildConfigAutomaticUpdatePolicy): void
valueRequired

putOnDeployUpdatePolicy
public putOnDeployUpdatePolicy(value: Cloudfunctions2FunctionBuildConfigOnDeployUpdatePolicy): void
valueRequired

putSource
public putSource(value: Cloudfunctions2FunctionBuildConfigSource): void
valueRequired

resetAutomaticUpdatePolicy
public resetAutomaticUpdatePolicy(): void
resetDockerRepository
public resetDockerRepository(): void
resetEntryPoint
public resetEntryPoint(): void
resetEnvironmentVariables
public resetEnvironmentVariables(): void
resetOnDeployUpdatePolicy
public resetOnDeployUpdatePolicy(): void
resetRuntime
public resetRuntime(): void
resetServiceAccount
public resetServiceAccount(): void
resetSource
public resetSource(): void
resetWorkerPool
public resetWorkerPool(): void

Properties

Name Type Description
creationStack string[] The creation stack of this resolvable which will be appended to errors thrown during resolution.
fqn string No description.
automaticUpdatePolicy Cloudfunctions2FunctionBuildConfigAutomaticUpdatePolicyOutputReference No description.
buildAttribute string No description.
onDeployUpdatePolicy Cloudfunctions2FunctionBuildConfigOnDeployUpdatePolicyOutputReference No description.
source Cloudfunctions2FunctionBuildConfigSourceOutputReference No description.
automaticUpdatePolicyInput Cloudfunctions2FunctionBuildConfigAutomaticUpdatePolicy No description.
dockerRepositoryInput string No description.
entryPointInput string No description.
environmentVariablesInput {[ key: string ]: string} No description.
onDeployUpdatePolicyInput Cloudfunctions2FunctionBuildConfigOnDeployUpdatePolicy No description.
runtimeInput string No description.
serviceAccountInput string No description.
sourceInput Cloudfunctions2FunctionBuildConfigSource No description.
workerPoolInput string No description.
dockerRepository string No description.
entryPoint string No description.
environmentVariables {[ key: string ]: string} No description.
runtime string No description.
serviceAccount string No description.
workerPool string No description.
internalValue Cloudfunctions2FunctionBuildConfig No description.

creationStackRequired
public readonly creationStack: string[];
  • Type: string[]

The creation stack of this resolvable which will be appended to errors thrown during resolution.

If this returns an empty array the stack will not be attached.


fqnRequired
public readonly fqn: string;
  • Type: string

automaticUpdatePolicyRequired
public readonly automaticUpdatePolicy: Cloudfunctions2FunctionBuildConfigAutomaticUpdatePolicyOutputReference;

buildAttributeRequired
public readonly buildAttribute: string;
  • Type: string

onDeployUpdatePolicyRequired
public readonly onDeployUpdatePolicy: Cloudfunctions2FunctionBuildConfigOnDeployUpdatePolicyOutputReference;

sourceRequired
public readonly source: Cloudfunctions2FunctionBuildConfigSourceOutputReference;

automaticUpdatePolicyInputOptional
public readonly automaticUpdatePolicyInput: Cloudfunctions2FunctionBuildConfigAutomaticUpdatePolicy;

dockerRepositoryInputOptional
public readonly dockerRepositoryInput: string;
  • Type: string

entryPointInputOptional
public readonly entryPointInput: string;
  • Type: string

environmentVariablesInputOptional
public readonly environmentVariablesInput: {[ key: string ]: string};
  • Type: {[ key: string ]: string}

onDeployUpdatePolicyInputOptional
public readonly onDeployUpdatePolicyInput: Cloudfunctions2FunctionBuildConfigOnDeployUpdatePolicy;

runtimeInputOptional
public readonly runtimeInput: string;
  • Type: string

serviceAccountInputOptional
public readonly serviceAccountInput: string;
  • Type: string

sourceInputOptional
public readonly sourceInput: Cloudfunctions2FunctionBuildConfigSource;

workerPoolInputOptional
public readonly workerPoolInput: string;
  • Type: string

dockerRepositoryRequired
public readonly dockerRepository: string;
  • Type: string

entryPointRequired
public readonly entryPoint: string;
  • Type: string

environmentVariablesRequired
public readonly environmentVariables: {[ key: string ]: string};
  • Type: {[ key: string ]: string}

runtimeRequired
public readonly runtime: string;
  • Type: string

serviceAccountRequired
public readonly serviceAccount: string;
  • Type: string

workerPoolRequired
public readonly workerPool: string;
  • Type: string

internalValueOptional
public readonly internalValue: Cloudfunctions2FunctionBuildConfig;

Cloudfunctions2FunctionBuildConfigSourceOutputReference

Initializers

import { cloudfunctions2Function } from '@cdktf/provider-google'

new cloudfunctions2Function.Cloudfunctions2FunctionBuildConfigSourceOutputReference(terraformResource: IInterpolatingParent, terraformAttribute: string)
Name Type Description
terraformResource cdktf.IInterpolatingParent The parent resource.
terraformAttribute string The attribute on the parent resource this class is referencing.

terraformResourceRequired
  • Type: cdktf.IInterpolatingParent

The parent resource.


terraformAttributeRequired
  • Type: string

The attribute on the parent resource this class is referencing.


Methods

Name Description
computeFqn No description.
getAnyMapAttribute No description.
getBooleanAttribute No description.
getBooleanMapAttribute No description.
getListAttribute No description.
getNumberAttribute No description.
getNumberListAttribute No description.
getNumberMapAttribute No description.
getStringAttribute No description.
getStringMapAttribute No description.
interpolationForAttribute No description.
resolve Produce the Token's value at resolution time.
toString Return a string representation of this resolvable object.
putRepoSource No description.
putStorageSource No description.
resetRepoSource No description.
resetStorageSource No description.

computeFqn
public computeFqn(): string
getAnyMapAttribute
public getAnyMapAttribute(terraformAttribute: string): {[ key: string ]: any}
terraformAttributeRequired
  • Type: string

getBooleanAttribute
public getBooleanAttribute(terraformAttribute: string): IResolvable
terraformAttributeRequired
  • Type: string

getBooleanMapAttribute
public getBooleanMapAttribute(terraformAttribute: string): {[ key: string ]: boolean}
terraformAttributeRequired
  • Type: string

getListAttribute
public getListAttribute(terraformAttribute: string): string[]
terraformAttributeRequired
  • Type: string

getNumberAttribute
public getNumberAttribute(terraformAttribute: string): number
terraformAttributeRequired
  • Type: string

getNumberListAttribute
public getNumberListAttribute(terraformAttribute: string): number[]
terraformAttributeRequired
  • Type: string

getNumberMapAttribute
public getNumberMapAttribute(terraformAttribute: string): {[ key: string ]: number}
terraformAttributeRequired
  • Type: string

getStringAttribute
public getStringAttribute(terraformAttribute: string): string
terraformAttributeRequired
  • Type: string

getStringMapAttribute
public getStringMapAttribute(terraformAttribute: string): {[ key: string ]: string}
terraformAttributeRequired
  • Type: string

interpolationForAttribute
public interpolationForAttribute(property: string): IResolvable
propertyRequired
  • Type: string

resolve
public resolve(_context: IResolveContext): any

Produce the Token's value at resolution time.

_contextRequired
  • Type: cdktf.IResolveContext

toString
public toString(): string

Return a string representation of this resolvable object.

Returns a reversible string representation.

putRepoSource
public putRepoSource(value: Cloudfunctions2FunctionBuildConfigSourceRepoSource): void
valueRequired

putStorageSource
public putStorageSource(value: Cloudfunctions2FunctionBuildConfigSourceStorageSource): void
valueRequired

resetRepoSource
public resetRepoSource(): void
resetStorageSource
public resetStorageSource(): void

Properties

Name Type Description
creationStack string[] The creation stack of this resolvable which will be appended to errors thrown during resolution.
fqn string No description.
repoSource Cloudfunctions2FunctionBuildConfigSourceRepoSourceOutputReference No description.
storageSource Cloudfunctions2FunctionBuildConfigSourceStorageSourceOutputReference No description.
repoSourceInput Cloudfunctions2FunctionBuildConfigSourceRepoSource No description.
storageSourceInput Cloudfunctions2FunctionBuildConfigSourceStorageSource No description.
internalValue Cloudfunctions2FunctionBuildConfigSource No description.

creationStackRequired
public readonly creationStack: string[];
  • Type: string[]

The creation stack of this resolvable which will be appended to errors thrown during resolution.

If this returns an empty array the stack will not be attached.


fqnRequired
public readonly fqn: string;
  • Type: string

repoSourceRequired
public readonly repoSource: Cloudfunctions2FunctionBuildConfigSourceRepoSourceOutputReference;

storageSourceRequired
public readonly storageSource: Cloudfunctions2FunctionBuildConfigSourceStorageSourceOutputReference;

repoSourceInputOptional
public readonly repoSourceInput: Cloudfunctions2FunctionBuildConfigSourceRepoSource;

storageSourceInputOptional
public readonly storageSourceInput: Cloudfunctions2FunctionBuildConfigSourceStorageSource;

internalValueOptional
public readonly internalValue: Cloudfunctions2FunctionBuildConfigSource;

Cloudfunctions2FunctionBuildConfigSourceRepoSourceOutputReference

Initializers

import { cloudfunctions2Function } from '@cdktf/provider-google'

new cloudfunctions2Function.Cloudfunctions2FunctionBuildConfigSourceRepoSourceOutputReference(terraformResource: IInterpolatingParent, terraformAttribute: string)
Name Type Description
terraformResource cdktf.IInterpolatingParent The parent resource.
terraformAttribute string The attribute on the parent resource this class is referencing.

terraformResourceRequired
  • Type: cdktf.IInterpolatingParent

The parent resource.


terraformAttributeRequired
  • Type: string

The attribute on the parent resource this class is referencing.


Methods

Name Description
computeFqn No description.
getAnyMapAttribute No description.
getBooleanAttribute No description.
getBooleanMapAttribute No description.
getListAttribute No description.
getNumberAttribute No description.
getNumberListAttribute No description.
getNumberMapAttribute No description.
getStringAttribute No description.
getStringMapAttribute No description.
interpolationForAttribute No description.
resolve Produce the Token's value at resolution time.
toString Return a string representation of this resolvable object.
resetBranchName No description.
resetCommitSha No description.
resetDir No description.
resetInvertRegex No description.
resetProjectId No description.
resetRepoName No description.
resetTagName No description.

computeFqn
public computeFqn(): string
getAnyMapAttribute
public getAnyMapAttribute(terraformAttribute: string): {[ key: string ]: any}
terraformAttributeRequired
  • Type: string

getBooleanAttribute
public getBooleanAttribute(terraformAttribute: string): IResolvable
terraformAttributeRequired
  • Type: string

getBooleanMapAttribute
public getBooleanMapAttribute(terraformAttribute: string): {[ key: string ]: boolean}
terraformAttributeRequired
  • Type: string

getListAttribute
public getListAttribute(terraformAttribute: string): string[]
terraformAttributeRequired
  • Type: string

getNumberAttribute
public getNumberAttribute(terraformAttribute: string): number
terraformAttributeRequired
  • Type: string

getNumberListAttribute
public getNumberListAttribute(terraformAttribute: string): number[]
terraformAttributeRequired
  • Type: string

getNumberMapAttribute
public getNumberMapAttribute(terraformAttribute: string): {[ key: string ]: number}
terraformAttributeRequired
  • Type: string

getStringAttribute
public getStringAttribute(terraformAttribute: string): string
terraformAttributeRequired
  • Type: string

getStringMapAttribute
public getStringMapAttribute(terraformAttribute: string): {[ key: string ]: string}
terraformAttributeRequired
  • Type: string

interpolationForAttribute
public interpolationForAttribute(property: string): IResolvable
propertyRequired
  • Type: string

resolve
public resolve(_context: IResolveContext): any

Produce the Token's value at resolution time.

_contextRequired
  • Type: cdktf.IResolveContext

toString
public toString(): string

Return a string representation of this resolvable object.

Returns a reversible string representation.

resetBranchName
public resetBranchName(): void
resetCommitSha
public resetCommitSha(): void
resetDir
public resetDir(): void
resetInvertRegex
public resetInvertRegex(): void
resetProjectId
public resetProjectId(): void
resetRepoName
public resetRepoName(): void
resetTagName
public resetTagName(): void

Properties

Name Type Description
creationStack string[] The creation stack of this resolvable which will be appended to errors thrown during resolution.
fqn string No description.
branchNameInput string No description.
commitShaInput string No description.
dirInput string No description.
invertRegexInput boolean | cdktf.IResolvable No description.
projectIdInput string No description.
repoNameInput string No description.
tagNameInput string No description.
branchName string No description.
commitSha string No description.
dir string No description.
invertRegex boolean | cdktf.IResolvable No description.
projectId string No description.
repoName string No description.
tagName string No description.
internalValue Cloudfunctions2FunctionBuildConfigSourceRepoSource No description.

creationStackRequired
public readonly creationStack: string[];
  • Type: string[]

The creation stack of this resolvable which will be appended to errors thrown during resolution.

If this returns an empty array the stack will not be attached.


fqnRequired
public readonly fqn: string;
  • Type: string

branchNameInputOptional
public readonly branchNameInput: string;
  • Type: string

commitShaInputOptional
public readonly commitShaInput: string;
  • Type: string

dirInputOptional
public readonly dirInput: string;
  • Type: string

invertRegexInputOptional
public readonly invertRegexInput: boolean | IResolvable;
  • Type: boolean | cdktf.IResolvable

projectIdInputOptional
public readonly projectIdInput: string;
  • Type: string

repoNameInputOptional
public readonly repoNameInput: string;
  • Type: string

tagNameInputOptional
public readonly tagNameInput: string;
  • Type: string

branchNameRequired
public readonly branchName: string;
  • Type: string

commitShaRequired
public readonly commitSha: string;
  • Type: string

dirRequired
public readonly dir: string;
  • Type: string

invertRegexRequired
public readonly invertRegex: boolean | IResolvable;
  • Type: boolean | cdktf.IResolvable

projectIdRequired
public readonly projectId: string;
  • Type: string

repoNameRequired
public readonly repoName: string;
  • Type: string

tagNameRequired
public readonly tagName: string;
  • Type: string

internalValueOptional
public readonly internalValue: Cloudfunctions2FunctionBuildConfigSourceRepoSource;

Cloudfunctions2FunctionBuildConfigSourceStorageSourceOutputReference

Initializers

import { cloudfunctions2Function } from '@cdktf/provider-google'

new cloudfunctions2Function.Cloudfunctions2FunctionBuildConfigSourceStorageSourceOutputReference(terraformResource: IInterpolatingParent, terraformAttribute: string)
Name Type Description
terraformResource cdktf.IInterpolatingParent The parent resource.
terraformAttribute string The attribute on the parent resource this class is referencing.

terraformResourceRequired
  • Type: cdktf.IInterpolatingParent

The parent resource.


terraformAttributeRequired
  • Type: string

The attribute on the parent resource this class is referencing.


Methods

Name Description
computeFqn No description.
getAnyMapAttribute No description.
getBooleanAttribute No description.
getBooleanMapAttribute No description.
getListAttribute No description.
getNumberAttribute No description.
getNumberListAttribute No description.
getNumberMapAttribute No description.
getStringAttribute No description.
getStringMapAttribute No description.
interpolationForAttribute No description.
resolve Produce the Token's value at resolution time.
toString Return a string representation of this resolvable object.
resetBucket No description.
resetGeneration No description.
resetObject No description.

computeFqn
public computeFqn(): string
getAnyMapAttribute
public getAnyMapAttribute(terraformAttribute: string): {[ key: string ]: any}
terraformAttributeRequired
  • Type: string

getBooleanAttribute
public getBooleanAttribute(terraformAttribute: string): IResolvable
terraformAttributeRequired
  • Type: string

getBooleanMapAttribute
public getBooleanMapAttribute(terraformAttribute: string): {[ key: string ]: boolean}
terraformAttributeRequired
  • Type: string

getListAttribute
public getListAttribute(terraformAttribute: string): string[]
terraformAttributeRequired
  • Type: string

getNumberAttribute
public getNumberAttribute(terraformAttribute: string): number
terraformAttributeRequired
  • Type: string

getNumberListAttribute
public getNumberListAttribute(terraformAttribute: string): number[]
terraformAttributeRequired
  • Type: string

getNumberMapAttribute
public getNumberMapAttribute(terraformAttribute: string): {[ key: string ]: number}
terraformAttributeRequired
  • Type: string

getStringAttribute
public getStringAttribute(terraformAttribute: string): string
terraformAttributeRequired
  • Type: string

getStringMapAttribute
public getStringMapAttribute(terraformAttribute: string): {[ key: string ]: string}
terraformAttributeRequired
  • Type: string

interpolationForAttribute
public interpolationForAttribute(property: string): IResolvable
propertyRequired
  • Type: string

resolve
public resolve(_context: IResolveContext): any

Produce the Token's value at resolution time.

_contextRequired
  • Type: cdktf.IResolveContext

toString
public toString(): string

Return a string representation of this resolvable object.

Returns a reversible string representation.

resetBucket
public resetBucket(): void
resetGeneration
public resetGeneration(): void
resetObject
public resetObject(): void

Properties

Name Type Description
creationStack string[] The creation stack of this resolvable which will be appended to errors thrown during resolution.
fqn string No description.
bucketInput string No description.
generationInput number No description.
objectInput string No description.
bucket string No description.
generation number No description.
object string No description.
internalValue Cloudfunctions2FunctionBuildConfigSourceStorageSource No description.

creationStackRequired
public readonly creationStack: string[];
  • Type: string[]

The creation stack of this resolvable which will be appended to errors thrown during resolution.

If this returns an empty array the stack will not be attached.


fqnRequired
public readonly fqn: string;
  • Type: string

bucketInputOptional
public readonly bucketInput: string;
  • Type: string

generationInputOptional
public readonly generationInput: number;
  • Type: number

objectInputOptional
public readonly objectInput: string;
  • Type: string

bucketRequired
public readonly bucket: string;
  • Type: string

generationRequired
public readonly generation: number;
  • Type: number

objectRequired
public readonly object: string;
  • Type: string

internalValueOptional
public readonly internalValue: Cloudfunctions2FunctionBuildConfigSourceStorageSource;

Cloudfunctions2FunctionEventTriggerEventFiltersList

Initializers

import { cloudfunctions2Function } from '@cdktf/provider-google'

new cloudfunctions2Function.Cloudfunctions2FunctionEventTriggerEventFiltersList(terraformResource: IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean)
Name Type Description
terraformResource cdktf.IInterpolatingParent The parent resource.
terraformAttribute string The attribute on the parent resource this class is referencing.
wrapsSet boolean whether the list is wrapping a set (will add tolist() to be able to access an item via an index).

terraformResourceRequired
  • Type: cdktf.IInterpolatingParent

The parent resource.


terraformAttributeRequired
  • Type: string

The attribute on the parent resource this class is referencing.


wrapsSetRequired
  • Type: boolean

whether the list is wrapping a set (will add tolist() to be able to access an item via an index).


Methods

Name Description
allWithMapKey Creating an iterator for this complex list.
computeFqn No description.
resolve Produce the Token's value at resolution time.
toString Return a string representation of this resolvable object.
get No description.

allWithMapKey
public allWithMapKey(mapKeyAttributeName: string): DynamicListTerraformIterator

Creating an iterator for this complex list.

The list will be converted into a map with the mapKeyAttributeName as the key.

mapKeyAttributeNameRequired
  • Type: string

computeFqn
public computeFqn(): string
resolve
public resolve(_context: IResolveContext): any

Produce the Token's value at resolution time.

_contextRequired
  • Type: cdktf.IResolveContext

toString
public toString(): string

Return a string representation of this resolvable object.

Returns a reversible string representation.

get
public get(index: number): Cloudfunctions2FunctionEventTriggerEventFiltersOutputReference
indexRequired
  • Type: number

the index of the item to return.


Properties

Name Type Description
creationStack string[] The creation stack of this resolvable which will be appended to errors thrown during resolution.
fqn string No description.
internalValue cdktf.IResolvable | Cloudfunctions2FunctionEventTriggerEventFilters[] No description.

creationStackRequired
public readonly creationStack: string[];
  • Type: string[]

The creation stack of this resolvable which will be appended to errors thrown during resolution.

If this returns an empty array the stack will not be attached.


fqnRequired
public readonly fqn: string;
  • Type: string

internalValueOptional
public readonly internalValue: IResolvable | Cloudfunctions2FunctionEventTriggerEventFilters[];

Cloudfunctions2FunctionEventTriggerEventFiltersOutputReference

Initializers

import { cloudfunctions2Function } from '@cdktf/provider-google'

new cloudfunctions2Function.Cloudfunctions2FunctionEventTriggerEventFiltersOutputReference(terraformResource: IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean)
Name Type Description
terraformResource cdktf.IInterpolatingParent The parent resource.
terraformAttribute string The attribute on the parent resource this class is referencing.
complexObjectIndex number the index of this item in the list.
complexObjectIsFromSet boolean whether the list is wrapping a set (will add tolist() to be able to access an item via an index).

terraformResourceRequired
  • Type: cdktf.IInterpolatingParent

The parent resource.


terraformAttributeRequired
  • Type: string

The attribute on the parent resource this class is referencing.


complexObjectIndexRequired
  • Type: number

the index of this item in the list.


complexObjectIsFromSetRequired
  • Type: boolean

whether the list is wrapping a set (will add tolist() to be able to access an item via an index).


Methods

Name Description
computeFqn No description.
getAnyMapAttribute No description.
getBooleanAttribute No description.
getBooleanMapAttribute No description.
getListAttribute No description.
getNumberAttribute No description.
getNumberListAttribute No description.
getNumberMapAttribute No description.
getStringAttribute No description.
getStringMapAttribute No description.
interpolationForAttribute No description.
resolve Produce the Token's value at resolution time.
toString Return a string representation of this resolvable object.
resetOperator No description.

computeFqn
public computeFqn(): string
getAnyMapAttribute
public getAnyMapAttribute(terraformAttribute: string): {[ key: string ]: any}
terraformAttributeRequired
  • Type: string

getBooleanAttribute
public getBooleanAttribute(terraformAttribute: string): IResolvable
terraformAttributeRequired
  • Type: string

getBooleanMapAttribute
public getBooleanMapAttribute(terraformAttribute: string): {[ key: string ]: boolean}
terraformAttributeRequired
  • Type: string

getListAttribute
public getListAttribute(terraformAttribute: string): string[]
terraformAttributeRequired
  • Type: string

getNumberAttribute
public getNumberAttribute(terraformAttribute: string): number
terraformAttributeRequired
  • Type: string

getNumberListAttribute
public getNumberListAttribute(terraformAttribute: string): number[]
terraformAttributeRequired
  • Type: string

getNumberMapAttribute
public getNumberMapAttribute(terraformAttribute: string): {[ key: string ]: number}
terraformAttributeRequired
  • Type: string

getStringAttribute
public getStringAttribute(terraformAttribute: string): string
terraformAttributeRequired
  • Type: string

getStringMapAttribute
public getStringMapAttribute(terraformAttribute: string): {[ key: string ]: string}
terraformAttributeRequired
  • Type: string

interpolationForAttribute
public interpolationForAttribute(property: string): IResolvable
propertyRequired
  • Type: string

resolve
public resolve(_context: IResolveContext): any

Produce the Token's value at resolution time.

_contextRequired
  • Type: cdktf.IResolveContext

toString
public toString(): string

Return a string representation of this resolvable object.

Returns a reversible string representation.

resetOperator
public resetOperator(): void

Properties

Name Type Description
creationStack string[] The creation stack of this resolvable which will be appended to errors thrown during resolution.
fqn string No description.
attributeInput string No description.
operatorInput string No description.
valueInput string No description.
attribute string No description.
operator string No description.
value string No description.
internalValue cdktf.IResolvable | Cloudfunctions2FunctionEventTriggerEventFilters No description.

creationStackRequired
public readonly creationStack: string[];
  • Type: string[]

The creation stack of this resolvable which will be appended to errors thrown during resolution.

If this returns an empty array the stack will not be attached.


fqnRequired
public readonly fqn: string;
  • Type: string

attributeInputOptional
public readonly attributeInput: string;
  • Type: string

operatorInputOptional
public readonly operatorInput: string;
  • Type: string

valueInputOptional
public readonly valueInput: string;
  • Type: string

attributeRequired
public readonly attribute: string;
  • Type: string

operatorRequired
public readonly operator: string;
  • Type: string

valueRequired
public readonly value: string;
  • Type: string

internalValueOptional
public readonly internalValue: IResolvable | Cloudfunctions2FunctionEventTriggerEventFilters;

Cloudfunctions2FunctionEventTriggerOutputReference

Initializers

import { cloudfunctions2Function } from '@cdktf/provider-google'

new cloudfunctions2Function.Cloudfunctions2FunctionEventTriggerOutputReference(terraformResource: IInterpolatingParent, terraformAttribute: string)
Name Type Description
terraformResource cdktf.IInterpolatingParent The parent resource.
terraformAttribute string The attribute on the parent resource this class is referencing.

terraformResourceRequired
  • Type: cdktf.IInterpolatingParent

The parent resource.


terraformAttributeRequired
  • Type: string

The attribute on the parent resource this class is referencing.


Methods

Name Description
computeFqn No description.
getAnyMapAttribute No description.
getBooleanAttribute No description.
getBooleanMapAttribute No description.
getListAttribute No description.
getNumberAttribute No description.
getNumberListAttribute No description.
getNumberMapAttribute No description.
getStringAttribute No description.
getStringMapAttribute No description.
interpolationForAttribute No description.
resolve Produce the Token's value at resolution time.
toString Return a string representation of this resolvable object.
putEventFilters No description.
resetEventFilters No description.
resetEventType No description.
resetPubsubTopic No description.
resetRetryPolicy No description.
resetServiceAccountEmail No description.
resetTriggerRegion No description.

computeFqn
public computeFqn(): string
getAnyMapAttribute
public getAnyMapAttribute(terraformAttribute: string): {[ key: string ]: any}
terraformAttributeRequired
  • Type: string

getBooleanAttribute
public getBooleanAttribute(terraformAttribute: string): IResolvable
terraformAttributeRequired
  • Type: string

getBooleanMapAttribute
public getBooleanMapAttribute(terraformAttribute: string): {[ key: string ]: boolean}
terraformAttributeRequired
  • Type: string

getListAttribute
public getListAttribute(terraformAttribute: string): string[]
terraformAttributeRequired
  • Type: string

getNumberAttribute
public getNumberAttribute(terraformAttribute: string): number
terraformAttributeRequired
  • Type: string

getNumberListAttribute
public getNumberListAttribute(terraformAttribute: string): number[]
terraformAttributeRequired
  • Type: string

getNumberMapAttribute
public getNumberMapAttribute(terraformAttribute: string): {[ key: string ]: number}
terraformAttributeRequired
  • Type: string

getStringAttribute
public getStringAttribute(terraformAttribute: string): string
terraformAttributeRequired
  • Type: string

getStringMapAttribute
public getStringMapAttribute(terraformAttribute: string): {[ key: string ]: string}
terraformAttributeRequired
  • Type: string

interpolationForAttribute
public interpolationForAttribute(property: string): IResolvable
propertyRequired
  • Type: string

resolve
public resolve(_context: IResolveContext): any

Produce the Token's value at resolution time.

_contextRequired
  • Type: cdktf.IResolveContext

toString
public toString(): string

Return a string representation of this resolvable object.

Returns a reversible string representation.

putEventFilters
public putEventFilters(value: IResolvable | Cloudfunctions2FunctionEventTriggerEventFilters[]): void
valueRequired

resetEventFilters
public resetEventFilters(): void
resetEventType
public resetEventType(): void
resetPubsubTopic
public resetPubsubTopic(): void
resetRetryPolicy
public resetRetryPolicy(): void
resetServiceAccountEmail
public resetServiceAccountEmail(): void
resetTriggerRegion
public resetTriggerRegion(): void

Properties

Name Type Description
creationStack string[] The creation stack of this resolvable which will be appended to errors thrown during resolution.
fqn string No description.
eventFilters Cloudfunctions2FunctionEventTriggerEventFiltersList No description.
trigger string No description.
eventFiltersInput cdktf.IResolvable | Cloudfunctions2FunctionEventTriggerEventFilters[] No description.
eventTypeInput string No description.
pubsubTopicInput string No description.
retryPolicyInput string No description.
serviceAccountEmailInput string No description.
triggerRegionInput string No description.
eventType string No description.
pubsubTopic string No description.
retryPolicy string No description.
serviceAccountEmail string No description.
triggerRegion string No description.
internalValue Cloudfunctions2FunctionEventTrigger No description.

creationStackRequired
public readonly creationStack: string[];
  • Type: string[]

The creation stack of this resolvable which will be appended to errors thrown during resolution.

If this returns an empty array the stack will not be attached.


fqnRequired
public readonly fqn: string;
  • Type: string

eventFiltersRequired
public readonly eventFilters: Cloudfunctions2FunctionEventTriggerEventFiltersList;

triggerRequired
public readonly trigger: string;
  • Type: string

eventFiltersInputOptional
public readonly eventFiltersInput: IResolvable | Cloudfunctions2FunctionEventTriggerEventFilters[];

eventTypeInputOptional
public readonly eventTypeInput: string;
  • Type: string

pubsubTopicInputOptional
public readonly pubsubTopicInput: string;
  • Type: string

retryPolicyInputOptional
public readonly retryPolicyInput: string;
  • Type: string

serviceAccountEmailInputOptional
public readonly serviceAccountEmailInput: string;
  • Type: string

triggerRegionInputOptional
public readonly triggerRegionInput: string;
  • Type: string

eventTypeRequired
public readonly eventType: string;
  • Type: string

pubsubTopicRequired
public readonly pubsubTopic: string;
  • Type: string

retryPolicyRequired
public readonly retryPolicy: string;
  • Type: string

serviceAccountEmailRequired
public readonly serviceAccountEmail: string;
  • Type: string

triggerRegionRequired
public readonly triggerRegion: string;
  • Type: string

internalValueOptional
public readonly internalValue: Cloudfunctions2FunctionEventTrigger;

Cloudfunctions2FunctionServiceConfigOutputReference

Initializers

import { cloudfunctions2Function } from '@cdktf/provider-google'

new cloudfunctions2Function.Cloudfunctions2FunctionServiceConfigOutputReference(terraformResource: IInterpolatingParent, terraformAttribute: string)
Name Type Description
terraformResource cdktf.IInterpolatingParent The parent resource.
terraformAttribute string The attribute on the parent resource this class is referencing.

terraformResourceRequired
  • Type: cdktf.IInterpolatingParent

The parent resource.


terraformAttributeRequired
  • Type: string

The attribute on the parent resource this class is referencing.


Methods

Name Description
computeFqn No description.
getAnyMapAttribute No description.
getBooleanAttribute No description.
getBooleanMapAttribute No description.
getListAttribute No description.
getNumberAttribute No description.
getNumberListAttribute No description.
getNumberMapAttribute No description.
getStringAttribute No description.
getStringMapAttribute No description.
interpolationForAttribute No description.
resolve Produce the Token's value at resolution time.
toString Return a string representation of this resolvable object.
putSecretEnvironmentVariables No description.
putSecretVolumes No description.
resetAllTrafficOnLatestRevision No description.
resetAvailableCpu No description.
resetAvailableMemory No description.
resetBinaryAuthorizationPolicy No description.
resetEnvironmentVariables No description.
resetIngressSettings No description.
resetMaxInstanceCount No description.
resetMaxInstanceRequestConcurrency No description.
resetMinInstanceCount No description.
resetSecretEnvironmentVariables No description.
resetSecretVolumes No description.
resetService No description.
resetServiceAccountEmail No description.
resetTimeoutSeconds No description.
resetVpcConnector No description.
resetVpcConnectorEgressSettings No description.

computeFqn
public computeFqn(): string
getAnyMapAttribute
public getAnyMapAttribute(terraformAttribute: string): {[ key: string ]: any}
terraformAttributeRequired
  • Type: string

getBooleanAttribute
public getBooleanAttribute(terraformAttribute: string): IResolvable
terraformAttributeRequired
  • Type: string

getBooleanMapAttribute
public getBooleanMapAttribute(terraformAttribute: string): {[ key: string ]: boolean}
terraformAttributeRequired
  • Type: string

getListAttribute
public getListAttribute(terraformAttribute: string): string[]
terraformAttributeRequired
  • Type: string

getNumberAttribute
public getNumberAttribute(terraformAttribute: string): number
terraformAttributeRequired
  • Type: string

getNumberListAttribute
public getNumberListAttribute(terraformAttribute: string): number[]
terraformAttributeRequired
  • Type: string

getNumberMapAttribute
public getNumberMapAttribute(terraformAttribute: string): {[ key: string ]: number}
terraformAttributeRequired
  • Type: string

getStringAttribute
public getStringAttribute(terraformAttribute: string): string
terraformAttributeRequired
  • Type: string

getStringMapAttribute
public getStringMapAttribute(terraformAttribute: string): {[ key: string ]: string}
terraformAttributeRequired
  • Type: string

interpolationForAttribute
public interpolationForAttribute(property: string): IResolvable
propertyRequired
  • Type: string

resolve
public resolve(_context: IResolveContext): any

Produce the Token's value at resolution time.

_contextRequired
  • Type: cdktf.IResolveContext

toString
public toString(): string

Return a string representation of this resolvable object.

Returns a reversible string representation.

putSecretEnvironmentVariables
public putSecretEnvironmentVariables(value: IResolvable | Cloudfunctions2FunctionServiceConfigSecretEnvironmentVariables[]): void
valueRequired

putSecretVolumes
public putSecretVolumes(value: IResolvable | Cloudfunctions2FunctionServiceConfigSecretVolumes[]): void
valueRequired

resetAllTrafficOnLatestRevision
public resetAllTrafficOnLatestRevision(): void
resetAvailableCpu
public resetAvailableCpu(): void
resetAvailableMemory
public resetAvailableMemory(): void
resetBinaryAuthorizationPolicy
public resetBinaryAuthorizationPolicy(): void
resetEnvironmentVariables
public resetEnvironmentVariables(): void
resetIngressSettings
public resetIngressSettings(): void
resetMaxInstanceCount
public resetMaxInstanceCount(): void
resetMaxInstanceRequestConcurrency
public resetMaxInstanceRequestConcurrency(): void
resetMinInstanceCount
public resetMinInstanceCount(): void
resetSecretEnvironmentVariables
public resetSecretEnvironmentVariables(): void
resetSecretVolumes
public resetSecretVolumes(): void
resetService
public resetService(): void
resetServiceAccountEmail
public resetServiceAccountEmail(): void
resetTimeoutSeconds
public resetTimeoutSeconds(): void
resetVpcConnector
public resetVpcConnector(): void
resetVpcConnectorEgressSettings
public resetVpcConnectorEgressSettings(): void

Properties

Name Type Description
creationStack string[] The creation stack of this resolvable which will be appended to errors thrown during resolution.
fqn string No description.
gcfUri string No description.
secretEnvironmentVariables Cloudfunctions2FunctionServiceConfigSecretEnvironmentVariablesList No description.
secretVolumes Cloudfunctions2FunctionServiceConfigSecretVolumesList No description.
uri string No description.
allTrafficOnLatestRevisionInput boolean | cdktf.IResolvable No description.
availableCpuInput string No description.
availableMemoryInput string No description.
binaryAuthorizationPolicyInput string No description.
environmentVariablesInput {[ key: string ]: string} No description.
ingressSettingsInput string No description.
maxInstanceCountInput number No description.
maxInstanceRequestConcurrencyInput number No description.
minInstanceCountInput number No description.
secretEnvironmentVariablesInput cdktf.IResolvable | Cloudfunctions2FunctionServiceConfigSecretEnvironmentVariables[] No description.
secretVolumesInput cdktf.IResolvable | Cloudfunctions2FunctionServiceConfigSecretVolumes[] No description.
serviceAccountEmailInput string No description.
serviceInput string No description.
timeoutSecondsInput number No description.
vpcConnectorEgressSettingsInput string No description.
vpcConnectorInput string No description.
allTrafficOnLatestRevision boolean | cdktf.IResolvable No description.
availableCpu string No description.
availableMemory string No description.
binaryAuthorizationPolicy string No description.
environmentVariables {[ key: string ]: string} No description.
ingressSettings string No description.
maxInstanceCount number No description.
maxInstanceRequestConcurrency number No description.
minInstanceCount number No description.
service string No description.
serviceAccountEmail string No description.
timeoutSeconds number No description.
vpcConnector string No description.
vpcConnectorEgressSettings string No description.
internalValue Cloudfunctions2FunctionServiceConfig No description.

creationStackRequired
public readonly creationStack: string[];
  • Type: string[]

The creation stack of this resolvable which will be appended to errors thrown during resolution.

If this returns an empty array the stack will not be attached.


fqnRequired
public readonly fqn: string;
  • Type: string

gcfUriRequired
public readonly gcfUri: string;
  • Type: string

secretEnvironmentVariablesRequired
public readonly secretEnvironmentVariables: Cloudfunctions2FunctionServiceConfigSecretEnvironmentVariablesList;

secretVolumesRequired
public readonly secretVolumes: Cloudfunctions2FunctionServiceConfigSecretVolumesList;

uriRequired
public readonly uri: string;
  • Type: string

allTrafficOnLatestRevisionInputOptional
public readonly allTrafficOnLatestRevisionInput: boolean | IResolvable;
  • Type: boolean | cdktf.IResolvable

availableCpuInputOptional
public readonly availableCpuInput: string;
  • Type: string

availableMemoryInputOptional
public readonly availableMemoryInput: string;
  • Type: string

binaryAuthorizationPolicyInputOptional
public readonly binaryAuthorizationPolicyInput: string;
  • Type: string

environmentVariablesInputOptional
public readonly environmentVariablesInput: {[ key: string ]: string};
  • Type: {[ key: string ]: string}

ingressSettingsInputOptional
public readonly ingressSettingsInput: string;
  • Type: string

maxInstanceCountInputOptional
public readonly maxInstanceCountInput: number;
  • Type: number

maxInstanceRequestConcurrencyInputOptional
public readonly maxInstanceRequestConcurrencyInput: number;
  • Type: number

minInstanceCountInputOptional
public readonly minInstanceCountInput: number;
  • Type: number

secretEnvironmentVariablesInputOptional
public readonly secretEnvironmentVariablesInput: IResolvable | Cloudfunctions2FunctionServiceConfigSecretEnvironmentVariables[];

secretVolumesInputOptional
public readonly secretVolumesInput: IResolvable | Cloudfunctions2FunctionServiceConfigSecretVolumes[];

serviceAccountEmailInputOptional
public readonly serviceAccountEmailInput: string;
  • Type: string

serviceInputOptional
public readonly serviceInput: string;
  • Type: string

timeoutSecondsInputOptional
public readonly timeoutSecondsInput: number;
  • Type: number

vpcConnectorEgressSettingsInputOptional
public readonly vpcConnectorEgressSettingsInput: string;
  • Type: string

vpcConnectorInputOptional
public readonly vpcConnectorInput: string;
  • Type: string

allTrafficOnLatestRevisionRequired
public readonly allTrafficOnLatestRevision: boolean | IResolvable;
  • Type: boolean | cdktf.IResolvable

availableCpuRequired
public readonly availableCpu: string;
  • Type: string

availableMemoryRequired
public readonly availableMemory: string;
  • Type: string

binaryAuthorizationPolicyRequired
public readonly binaryAuthorizationPolicy: string;
  • Type: string

environmentVariablesRequired
public readonly environmentVariables: {[ key: string ]: string};
  • Type: {[ key: string ]: string}

ingressSettingsRequired
public readonly ingressSettings: string;
  • Type: string

maxInstanceCountRequired
public readonly maxInstanceCount: number;
  • Type: number

maxInstanceRequestConcurrencyRequired
public readonly maxInstanceRequestConcurrency: number;
  • Type: number

minInstanceCountRequired
public readonly minInstanceCount: number;
  • Type: number

serviceRequired
public readonly service: string;
  • Type: string

serviceAccountEmailRequired
public readonly serviceAccountEmail: string;
  • Type: string

timeoutSecondsRequired
public readonly timeoutSeconds: number;
  • Type: number

vpcConnectorRequired
public readonly vpcConnector: string;
  • Type: string

vpcConnectorEgressSettingsRequired
public readonly vpcConnectorEgressSettings: string;
  • Type: string

internalValueOptional
public readonly internalValue: Cloudfunctions2FunctionServiceConfig;

Cloudfunctions2FunctionServiceConfigSecretEnvironmentVariablesList

Initializers

import { cloudfunctions2Function } from '@cdktf/provider-google'

new cloudfunctions2Function.Cloudfunctions2FunctionServiceConfigSecretEnvironmentVariablesList(terraformResource: IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean)
Name Type Description
terraformResource cdktf.IInterpolatingParent The parent resource.
terraformAttribute string The attribute on the parent resource this class is referencing.
wrapsSet boolean whether the list is wrapping a set (will add tolist() to be able to access an item via an index).

terraformResourceRequired
  • Type: cdktf.IInterpolatingParent

The parent resource.


terraformAttributeRequired
  • Type: string

The attribute on the parent resource this class is referencing.


wrapsSetRequired
  • Type: boolean

whether the list is wrapping a set (will add tolist() to be able to access an item via an index).


Methods

Name Description
allWithMapKey Creating an iterator for this complex list.
computeFqn No description.
resolve Produce the Token's value at resolution time.
toString Return a string representation of this resolvable object.
get No description.

allWithMapKey
public allWithMapKey(mapKeyAttributeName: string): DynamicListTerraformIterator

Creating an iterator for this complex list.

The list will be converted into a map with the mapKeyAttributeName as the key.

mapKeyAttributeNameRequired
  • Type: string

computeFqn
public computeFqn(): string
resolve
public resolve(_context: IResolveContext): any

Produce the Token's value at resolution time.

_contextRequired
  • Type: cdktf.IResolveContext

toString
public toString(): string

Return a string representation of this resolvable object.

Returns a reversible string representation.

get
public get(index: number): Cloudfunctions2FunctionServiceConfigSecretEnvironmentVariablesOutputReference
indexRequired
  • Type: number

the index of the item to return.


Properties

Name Type Description
creationStack string[] The creation stack of this resolvable which will be appended to errors thrown during resolution.
fqn string No description.
internalValue cdktf.IResolvable | Cloudfunctions2FunctionServiceConfigSecretEnvironmentVariables[] No description.

creationStackRequired
public readonly creationStack: string[];
  • Type: string[]

The creation stack of this resolvable which will be appended to errors thrown during resolution.

If this returns an empty array the stack will not be attached.


fqnRequired
public readonly fqn: string;
  • Type: string

internalValueOptional
public readonly internalValue: IResolvable | Cloudfunctions2FunctionServiceConfigSecretEnvironmentVariables[];

Cloudfunctions2FunctionServiceConfigSecretEnvironmentVariablesOutputReference

Initializers

import { cloudfunctions2Function } from '@cdktf/provider-google'

new cloudfunctions2Function.Cloudfunctions2FunctionServiceConfigSecretEnvironmentVariablesOutputReference(terraformResource: IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean)
Name Type Description
terraformResource cdktf.IInterpolatingParent The parent resource.
terraformAttribute string The attribute on the parent resource this class is referencing.
complexObjectIndex number the index of this item in the list.
complexObjectIsFromSet boolean whether the list is wrapping a set (will add tolist() to be able to access an item via an index).

terraformResourceRequired
  • Type: cdktf.IInterpolatingParent

The parent resource.


terraformAttributeRequired
  • Type: string

The attribute on the parent resource this class is referencing.


complexObjectIndexRequired
  • Type: number

the index of this item in the list.


complexObjectIsFromSetRequired
  • Type: boolean

whether the list is wrapping a set (will add tolist() to be able to access an item via an index).


Methods

Name Description
computeFqn No description.
getAnyMapAttribute No description.
getBooleanAttribute No description.
getBooleanMapAttribute No description.
getListAttribute No description.
getNumberAttribute No description.
getNumberListAttribute No description.
getNumberMapAttribute No description.
getStringAttribute No description.
getStringMapAttribute No description.
interpolationForAttribute No description.
resolve Produce the Token's value at resolution time.
toString Return a string representation of this resolvable object.

computeFqn
public computeFqn(): string
getAnyMapAttribute
public getAnyMapAttribute(terraformAttribute: string): {[ key: string ]: any}
terraformAttributeRequired
  • Type: string

getBooleanAttribute
public getBooleanAttribute(terraformAttribute: string): IResolvable
terraformAttributeRequired
  • Type: string

getBooleanMapAttribute
public getBooleanMapAttribute(terraformAttribute: string): {[ key: string ]: boolean}
terraformAttributeRequired
  • Type: string

getListAttribute
public getListAttribute(terraformAttribute: string): string[]
terraformAttributeRequired
  • Type: string

getNumberAttribute
public getNumberAttribute(terraformAttribute: string): number
terraformAttributeRequired
  • Type: string

getNumberListAttribute
public getNumberListAttribute(terraformAttribute: string): number[]
terraformAttributeRequired
  • Type: string

getNumberMapAttribute
public getNumberMapAttribute(terraformAttribute: string): {[ key: string ]: number}
terraformAttributeRequired
  • Type: string

getStringAttribute
public getStringAttribute(terraformAttribute: string): string
terraformAttributeRequired
  • Type: string

getStringMapAttribute
public getStringMapAttribute(terraformAttribute: string): {[ key: string ]: string}
terraformAttributeRequired
  • Type: string

interpolationForAttribute
public interpolationForAttribute(property: string): IResolvable
propertyRequired
  • Type: string

resolve
public resolve(_context: IResolveContext): any

Produce the Token's value at resolution time.

_contextRequired
  • Type: cdktf.IResolveContext

toString
public toString(): string

Return a string representation of this resolvable object.

Returns a reversible string representation.

Properties

Name Type Description
creationStack string[] The creation stack of this resolvable which will be appended to errors thrown during resolution.
fqn string No description.
keyInput string No description.
projectIdInput string No description.
secretInput string No description.
versionInput string No description.
key string No description.
projectId string No description.
secret string No description.
version string No description.
internalValue cdktf.IResolvable | Cloudfunctions2FunctionServiceConfigSecretEnvironmentVariables No description.

creationStackRequired
public readonly creationStack: string[];
  • Type: string[]

The creation stack of this resolvable which will be appended to errors thrown during resolution.

If this returns an empty array the stack will not be attached.


fqnRequired
public readonly fqn: string;
  • Type: string

keyInputOptional
public readonly keyInput: string;
  • Type: string

projectIdInputOptional
public readonly projectIdInput: string;
  • Type: string

secretInputOptional
public readonly secretInput: string;
  • Type: string

versionInputOptional
public readonly versionInput: string;
  • Type: string

keyRequired
public readonly key: string;
  • Type: string

projectIdRequired
public readonly projectId: string;
  • Type: string

secretRequired
public readonly secret: string;
  • Type: string

versionRequired
public readonly version: string;
  • Type: string

internalValueOptional
public readonly internalValue: IResolvable | Cloudfunctions2FunctionServiceConfigSecretEnvironmentVariables;

Cloudfunctions2FunctionServiceConfigSecretVolumesList

Initializers

import { cloudfunctions2Function } from '@cdktf/provider-google'

new cloudfunctions2Function.Cloudfunctions2FunctionServiceConfigSecretVolumesList(terraformResource: IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean)
Name Type Description
terraformResource cdktf.IInterpolatingParent The parent resource.
terraformAttribute string The attribute on the parent resource this class is referencing.
wrapsSet boolean whether the list is wrapping a set (will add tolist() to be able to access an item via an index).

terraformResourceRequired
  • Type: cdktf.IInterpolatingParent

The parent resource.


terraformAttributeRequired
  • Type: string

The attribute on the parent resource this class is referencing.


wrapsSetRequired
  • Type: boolean

whether the list is wrapping a set (will add tolist() to be able to access an item via an index).


Methods

Name Description
allWithMapKey Creating an iterator for this complex list.
computeFqn No description.
resolve Produce the Token's value at resolution time.
toString Return a string representation of this resolvable object.
get No description.

allWithMapKey
public allWithMapKey(mapKeyAttributeName: string): DynamicListTerraformIterator

Creating an iterator for this complex list.

The list will be converted into a map with the mapKeyAttributeName as the key.

mapKeyAttributeNameRequired
  • Type: string

computeFqn
public computeFqn(): string
resolve
public resolve(_context: IResolveContext): any

Produce the Token's value at resolution time.

_contextRequired
  • Type: cdktf.IResolveContext

toString
public toString(): string

Return a string representation of this resolvable object.

Returns a reversible string representation.

get
public get(index: number): Cloudfunctions2FunctionServiceConfigSecretVolumesOutputReference
indexRequired
  • Type: number

the index of the item to return.


Properties

Name Type Description
creationStack string[] The creation stack of this resolvable which will be appended to errors thrown during resolution.
fqn string No description.
internalValue cdktf.IResolvable | Cloudfunctions2FunctionServiceConfigSecretVolumes[] No description.

creationStackRequired
public readonly creationStack: string[];
  • Type: string[]

The creation stack of this resolvable which will be appended to errors thrown during resolution.

If this returns an empty array the stack will not be attached.


fqnRequired
public readonly fqn: string;
  • Type: string

internalValueOptional
public readonly internalValue: IResolvable | Cloudfunctions2FunctionServiceConfigSecretVolumes[];

Cloudfunctions2FunctionServiceConfigSecretVolumesOutputReference

Initializers

import { cloudfunctions2Function } from '@cdktf/provider-google'

new cloudfunctions2Function.Cloudfunctions2FunctionServiceConfigSecretVolumesOutputReference(terraformResource: IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean)
Name Type Description
terraformResource cdktf.IInterpolatingParent The parent resource.
terraformAttribute string The attribute on the parent resource this class is referencing.
complexObjectIndex number the index of this item in the list.
complexObjectIsFromSet boolean whether the list is wrapping a set (will add tolist() to be able to access an item via an index).

terraformResourceRequired
  • Type: cdktf.IInterpolatingParent

The parent resource.


terraformAttributeRequired
  • Type: string

The attribute on the parent resource this class is referencing.


complexObjectIndexRequired
  • Type: number

the index of this item in the list.


complexObjectIsFromSetRequired
  • Type: boolean

whether the list is wrapping a set (will add tolist() to be able to access an item via an index).


Methods

Name Description
computeFqn No description.
getAnyMapAttribute No description.
getBooleanAttribute No description.
getBooleanMapAttribute No description.
getListAttribute No description.
getNumberAttribute No description.
getNumberListAttribute No description.
getNumberMapAttribute No description.
getStringAttribute No description.
getStringMapAttribute No description.
interpolationForAttribute No description.
resolve Produce the Token's value at resolution time.
toString Return a string representation of this resolvable object.
putVersions No description.
resetVersions No description.

computeFqn
public computeFqn(): string
getAnyMapAttribute
public getAnyMapAttribute(terraformAttribute: string): {[ key: string ]: any}
terraformAttributeRequired
  • Type: string

getBooleanAttribute
public getBooleanAttribute(terraformAttribute: string): IResolvable
terraformAttributeRequired
  • Type: string

getBooleanMapAttribute
public getBooleanMapAttribute(terraformAttribute: string): {[ key: string ]: boolean}
terraformAttributeRequired
  • Type: string

getListAttribute
public getListAttribute(terraformAttribute: string): string[]
terraformAttributeRequired
  • Type: string

getNumberAttribute
public getNumberAttribute(terraformAttribute: string): number
terraformAttributeRequired
  • Type: string

getNumberListAttribute
public getNumberListAttribute(terraformAttribute: string): number[]
terraformAttributeRequired
  • Type: string

getNumberMapAttribute
public getNumberMapAttribute(terraformAttribute: string): {[ key: string ]: number}
terraformAttributeRequired
  • Type: string

getStringAttribute
public getStringAttribute(terraformAttribute: string): string
terraformAttributeRequired
  • Type: string

getStringMapAttribute
public getStringMapAttribute(terraformAttribute: string): {[ key: string ]: string}
terraformAttributeRequired
  • Type: string

interpolationForAttribute
public interpolationForAttribute(property: string): IResolvable
propertyRequired
  • Type: string

resolve
public resolve(_context: IResolveContext): any

Produce the Token's value at resolution time.

_contextRequired
  • Type: cdktf.IResolveContext

toString
public toString(): string

Return a string representation of this resolvable object.

Returns a reversible string representation.

putVersions
public putVersions(value: IResolvable | Cloudfunctions2FunctionServiceConfigSecretVolumesVersions[]): void
valueRequired

resetVersions
public resetVersions(): void

Properties

Name Type Description
creationStack string[] The creation stack of this resolvable which will be appended to errors thrown during resolution.
fqn string No description.
versions Cloudfunctions2FunctionServiceConfigSecretVolumesVersionsList No description.
mountPathInput string No description.
projectIdInput string No description.
secretInput string No description.
versionsInput cdktf.IResolvable | Cloudfunctions2FunctionServiceConfigSecretVolumesVersions[] No description.
mountPath string No description.
projectId string No description.
secret string No description.
internalValue cdktf.IResolvable | Cloudfunctions2FunctionServiceConfigSecretVolumes No description.

creationStackRequired
public readonly creationStack: string[];
  • Type: string[]

The creation stack of this resolvable which will be appended to errors thrown during resolution.

If this returns an empty array the stack will not be attached.


fqnRequired
public readonly fqn: string;
  • Type: string

versionsRequired
public readonly versions: Cloudfunctions2FunctionServiceConfigSecretVolumesVersionsList;

mountPathInputOptional
public readonly mountPathInput: string;
  • Type: string

projectIdInputOptional
public readonly projectIdInput: string;
  • Type: string

secretInputOptional
public readonly secretInput: string;
  • Type: string

versionsInputOptional
public readonly versionsInput: IResolvable | Cloudfunctions2FunctionServiceConfigSecretVolumesVersions[];

mountPathRequired
public readonly mountPath: string;
  • Type: string

projectIdRequired
public readonly projectId: string;
  • Type: string

secretRequired
public readonly secret: string;
  • Type: string

internalValueOptional
public readonly internalValue: IResolvable | Cloudfunctions2FunctionServiceConfigSecretVolumes;

Cloudfunctions2FunctionServiceConfigSecretVolumesVersionsList

Initializers

import { cloudfunctions2Function } from '@cdktf/provider-google'

new cloudfunctions2Function.Cloudfunctions2FunctionServiceConfigSecretVolumesVersionsList(terraformResource: IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean)
Name Type Description
terraformResource cdktf.IInterpolatingParent The parent resource.
terraformAttribute string The attribute on the parent resource this class is referencing.
wrapsSet boolean whether the list is wrapping a set (will add tolist() to be able to access an item via an index).

terraformResourceRequired
  • Type: cdktf.IInterpolatingParent

The parent resource.


terraformAttributeRequired
  • Type: string

The attribute on the parent resource this class is referencing.


wrapsSetRequired
  • Type: boolean

whether the list is wrapping a set (will add tolist() to be able to access an item via an index).


Methods

Name Description
allWithMapKey Creating an iterator for this complex list.
computeFqn No description.
resolve Produce the Token's value at resolution time.
toString Return a string representation of this resolvable object.
get No description.

allWithMapKey
public allWithMapKey(mapKeyAttributeName: string): DynamicListTerraformIterator

Creating an iterator for this complex list.

The list will be converted into a map with the mapKeyAttributeName as the key.

mapKeyAttributeNameRequired
  • Type: string

computeFqn
public computeFqn(): string
resolve
public resolve(_context: IResolveContext): any

Produce the Token's value at resolution time.

_contextRequired
  • Type: cdktf.IResolveContext

toString
public toString(): string

Return a string representation of this resolvable object.

Returns a reversible string representation.

get
public get(index: number): Cloudfunctions2FunctionServiceConfigSecretVolumesVersionsOutputReference
indexRequired
  • Type: number

the index of the item to return.


Properties

Name Type Description
creationStack string[] The creation stack of this resolvable which will be appended to errors thrown during resolution.
fqn string No description.
internalValue cdktf.IResolvable | Cloudfunctions2FunctionServiceConfigSecretVolumesVersions[] No description.

creationStackRequired
public readonly creationStack: string[];
  • Type: string[]

The creation stack of this resolvable which will be appended to errors thrown during resolution.

If this returns an empty array the stack will not be attached.


fqnRequired
public readonly fqn: string;
  • Type: string

internalValueOptional
public readonly internalValue: IResolvable | Cloudfunctions2FunctionServiceConfigSecretVolumesVersions[];

Cloudfunctions2FunctionServiceConfigSecretVolumesVersionsOutputReference

Initializers

import { cloudfunctions2Function } from '@cdktf/provider-google'

new cloudfunctions2Function.Cloudfunctions2FunctionServiceConfigSecretVolumesVersionsOutputReference(terraformResource: IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean)
Name Type Description
terraformResource cdktf.IInterpolatingParent The parent resource.
terraformAttribute string The attribute on the parent resource this class is referencing.
complexObjectIndex number the index of this item in the list.
complexObjectIsFromSet boolean whether the list is wrapping a set (will add tolist() to be able to access an item via an index).

terraformResourceRequired
  • Type: cdktf.IInterpolatingParent

The parent resource.


terraformAttributeRequired
  • Type: string

The attribute on the parent resource this class is referencing.


complexObjectIndexRequired
  • Type: number

the index of this item in the list.


complexObjectIsFromSetRequired
  • Type: boolean

whether the list is wrapping a set (will add tolist() to be able to access an item via an index).


Methods

Name Description
computeFqn No description.
getAnyMapAttribute No description.
getBooleanAttribute No description.
getBooleanMapAttribute No description.
getListAttribute No description.
getNumberAttribute No description.
getNumberListAttribute No description.
getNumberMapAttribute No description.
getStringAttribute No description.
getStringMapAttribute No description.
interpolationForAttribute No description.
resolve Produce the Token's value at resolution time.
toString Return a string representation of this resolvable object.

computeFqn
public computeFqn(): string
getAnyMapAttribute
public getAnyMapAttribute(terraformAttribute: string): {[ key: string ]: any}
terraformAttributeRequired
  • Type: string

getBooleanAttribute
public getBooleanAttribute(terraformAttribute: string): IResolvable
terraformAttributeRequired
  • Type: string

getBooleanMapAttribute
public getBooleanMapAttribute(terraformAttribute: string): {[ key: string ]: boolean}
terraformAttributeRequired
  • Type: string

getListAttribute
public getListAttribute(terraformAttribute: string): string[]
terraformAttributeRequired
  • Type: string

getNumberAttribute
public getNumberAttribute(terraformAttribute: string): number
terraformAttributeRequired
  • Type: string

getNumberListAttribute
public getNumberListAttribute(terraformAttribute: string): number[]
terraformAttributeRequired
  • Type: string

getNumberMapAttribute
public getNumberMapAttribute(terraformAttribute: string): {[ key: string ]: number}
terraformAttributeRequired
  • Type: string

getStringAttribute
public getStringAttribute(terraformAttribute: string): string
terraformAttributeRequired
  • Type: string

getStringMapAttribute
public getStringMapAttribute(terraformAttribute: string): {[ key: string ]: string}
terraformAttributeRequired
  • Type: string

interpolationForAttribute
public interpolationForAttribute(property: string): IResolvable
propertyRequired
  • Type: string

resolve
public resolve(_context: IResolveContext): any

Produce the Token's value at resolution time.

_contextRequired
  • Type: cdktf.IResolveContext

toString
public toString(): string

Return a string representation of this resolvable object.

Returns a reversible string representation.

Properties

Name Type Description
creationStack string[] The creation stack of this resolvable which will be appended to errors thrown during resolution.
fqn string No description.
pathInput string No description.
versionInput string No description.
path string No description.
version string No description.
internalValue cdktf.IResolvable | Cloudfunctions2FunctionServiceConfigSecretVolumesVersions No description.

creationStackRequired
public readonly creationStack: string[];
  • Type: string[]

The creation stack of this resolvable which will be appended to errors thrown during resolution.

If this returns an empty array the stack will not be attached.


fqnRequired
public readonly fqn: string;
  • Type: string

pathInputOptional
public readonly pathInput: string;
  • Type: string

versionInputOptional
public readonly versionInput: string;
  • Type: string

pathRequired
public readonly path: string;
  • Type: string

versionRequired
public readonly version: string;
  • Type: string

internalValueOptional
public readonly internalValue: IResolvable | Cloudfunctions2FunctionServiceConfigSecretVolumesVersions;

Cloudfunctions2FunctionTimeoutsOutputReference

Initializers

import { cloudfunctions2Function } from '@cdktf/provider-google'

new cloudfunctions2Function.Cloudfunctions2FunctionTimeoutsOutputReference(terraformResource: IInterpolatingParent, terraformAttribute: string)
Name Type Description
terraformResource cdktf.IInterpolatingParent The parent resource.
terraformAttribute string The attribute on the parent resource this class is referencing.

terraformResourceRequired
  • Type: cdktf.IInterpolatingParent

The parent resource.


terraformAttributeRequired
  • Type: string

The attribute on the parent resource this class is referencing.


Methods

Name Description
computeFqn No description.
getAnyMapAttribute No description.
getBooleanAttribute No description.
getBooleanMapAttribute No description.
getListAttribute No description.
getNumberAttribute No description.
getNumberListAttribute No description.
getNumberMapAttribute No description.
getStringAttribute No description.
getStringMapAttribute No description.
interpolationForAttribute No description.
resolve Produce the Token's value at resolution time.
toString Return a string representation of this resolvable object.
resetCreate No description.
resetDelete No description.
resetUpdate No description.

computeFqn
public computeFqn(): string
getAnyMapAttribute
public getAnyMapAttribute(terraformAttribute: string): {[ key: string ]: any}
terraformAttributeRequired
  • Type: string

getBooleanAttribute
public getBooleanAttribute(terraformAttribute: string): IResolvable
terraformAttributeRequired
  • Type: string

getBooleanMapAttribute
public getBooleanMapAttribute(terraformAttribute: string): {[ key: string ]: boolean}
terraformAttributeRequired
  • Type: string

getListAttribute
public getListAttribute(terraformAttribute: string): string[]
terraformAttributeRequired
  • Type: string

getNumberAttribute
public getNumberAttribute(terraformAttribute: string): number
terraformAttributeRequired
  • Type: string

getNumberListAttribute
public getNumberListAttribute(terraformAttribute: string): number[]
terraformAttributeRequired
  • Type: string

getNumberMapAttribute
public getNumberMapAttribute(terraformAttribute: string): {[ key: string ]: number}
terraformAttributeRequired
  • Type: string

getStringAttribute
public getStringAttribute(terraformAttribute: string): string
terraformAttributeRequired
  • Type: string

getStringMapAttribute
public getStringMapAttribute(terraformAttribute: string): {[ key: string ]: string}
terraformAttributeRequired
  • Type: string

interpolationForAttribute
public interpolationForAttribute(property: string): IResolvable
propertyRequired
  • Type: string

resolve
public resolve(_context: IResolveContext): any

Produce the Token's value at resolution time.

_contextRequired
  • Type: cdktf.IResolveContext

toString
public toString(): string

Return a string representation of this resolvable object.

Returns a reversible string representation.

resetCreate
public resetCreate(): void
resetDelete
public resetDelete(): void
resetUpdate
public resetUpdate(): void

Properties

Name Type Description
creationStack string[] The creation stack of this resolvable which will be appended to errors thrown during resolution.
fqn string No description.
createInput string No description.
deleteInput string No description.
updateInput string No description.
create string No description.
delete string No description.
update string No description.
internalValue cdktf.IResolvable | Cloudfunctions2FunctionTimeouts No description.

creationStackRequired
public readonly creationStack: string[];
  • Type: string[]

The creation stack of this resolvable which will be appended to errors thrown during resolution.

If this returns an empty array the stack will not be attached.


fqnRequired
public readonly fqn: string;
  • Type: string

createInputOptional
public readonly createInput: string;
  • Type: string

deleteInputOptional
public readonly deleteInput: string;
  • Type: string

updateInputOptional
public readonly updateInput: string;
  • Type: string

createRequired
public readonly create: string;
  • Type: string

deleteRequired
public readonly delete: string;
  • Type: string

updateRequired
public readonly update: string;
  • Type: string

internalValueOptional
public readonly internalValue: IResolvable | Cloudfunctions2FunctionTimeouts;