cloudfunctions2function

package
v14.13.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 19, 2024 License: MPL-2.0 Imports: 7 Imported by: 0

README

google_cloudfunctions2_function

Refer to the Terraform Registry for docs: google_cloudfunctions2_function.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cloudfunctions2Function_GenerateConfigForImport

func Cloudfunctions2Function_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, provider cdktf.TerraformProvider) cdktf.ImportableResource

Generates CDKTF code for importing a Cloudfunctions2Function resource upon running "cdktf plan <stack-name>".

func Cloudfunctions2Function_IsConstruct

func Cloudfunctions2Function_IsConstruct(x interface{}) *bool

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.

Returns: true if `x` is an object created from a class which extends `Construct`.

func Cloudfunctions2Function_IsTerraformElement

func Cloudfunctions2Function_IsTerraformElement(x interface{}) *bool

Experimental.

func Cloudfunctions2Function_IsTerraformResource

func Cloudfunctions2Function_IsTerraformResource(x interface{}) *bool

Experimental.

func Cloudfunctions2Function_TfResourceType

func Cloudfunctions2Function_TfResourceType() *string

func NewCloudfunctions2FunctionBuildConfigAutomaticUpdatePolicyOutputReference_Override

func NewCloudfunctions2FunctionBuildConfigAutomaticUpdatePolicyOutputReference_Override(c Cloudfunctions2FunctionBuildConfigAutomaticUpdatePolicyOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)

func NewCloudfunctions2FunctionBuildConfigOnDeployUpdatePolicyOutputReference_Override

func NewCloudfunctions2FunctionBuildConfigOnDeployUpdatePolicyOutputReference_Override(c Cloudfunctions2FunctionBuildConfigOnDeployUpdatePolicyOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)

func NewCloudfunctions2FunctionBuildConfigOutputReference_Override

func NewCloudfunctions2FunctionBuildConfigOutputReference_Override(c Cloudfunctions2FunctionBuildConfigOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)

func NewCloudfunctions2FunctionBuildConfigSourceOutputReference_Override

func NewCloudfunctions2FunctionBuildConfigSourceOutputReference_Override(c Cloudfunctions2FunctionBuildConfigSourceOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)

func NewCloudfunctions2FunctionBuildConfigSourceRepoSourceOutputReference_Override

func NewCloudfunctions2FunctionBuildConfigSourceRepoSourceOutputReference_Override(c Cloudfunctions2FunctionBuildConfigSourceRepoSourceOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)

func NewCloudfunctions2FunctionBuildConfigSourceStorageSourceOutputReference_Override

func NewCloudfunctions2FunctionBuildConfigSourceStorageSourceOutputReference_Override(c Cloudfunctions2FunctionBuildConfigSourceStorageSourceOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)

func NewCloudfunctions2FunctionEventTriggerEventFiltersList_Override

func NewCloudfunctions2FunctionEventTriggerEventFiltersList_Override(c Cloudfunctions2FunctionEventTriggerEventFiltersList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)

func NewCloudfunctions2FunctionEventTriggerEventFiltersOutputReference_Override

func NewCloudfunctions2FunctionEventTriggerEventFiltersOutputReference_Override(c Cloudfunctions2FunctionEventTriggerEventFiltersOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)

func NewCloudfunctions2FunctionEventTriggerOutputReference_Override

func NewCloudfunctions2FunctionEventTriggerOutputReference_Override(c Cloudfunctions2FunctionEventTriggerOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)

func NewCloudfunctions2FunctionServiceConfigOutputReference_Override

func NewCloudfunctions2FunctionServiceConfigOutputReference_Override(c Cloudfunctions2FunctionServiceConfigOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)

func NewCloudfunctions2FunctionServiceConfigSecretEnvironmentVariablesList_Override

func NewCloudfunctions2FunctionServiceConfigSecretEnvironmentVariablesList_Override(c Cloudfunctions2FunctionServiceConfigSecretEnvironmentVariablesList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)

func NewCloudfunctions2FunctionServiceConfigSecretEnvironmentVariablesOutputReference_Override

func NewCloudfunctions2FunctionServiceConfigSecretEnvironmentVariablesOutputReference_Override(c Cloudfunctions2FunctionServiceConfigSecretEnvironmentVariablesOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)

func NewCloudfunctions2FunctionServiceConfigSecretVolumesList_Override

func NewCloudfunctions2FunctionServiceConfigSecretVolumesList_Override(c Cloudfunctions2FunctionServiceConfigSecretVolumesList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)

func NewCloudfunctions2FunctionServiceConfigSecretVolumesOutputReference_Override

func NewCloudfunctions2FunctionServiceConfigSecretVolumesOutputReference_Override(c Cloudfunctions2FunctionServiceConfigSecretVolumesOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)

func NewCloudfunctions2FunctionServiceConfigSecretVolumesVersionsList_Override

func NewCloudfunctions2FunctionServiceConfigSecretVolumesVersionsList_Override(c Cloudfunctions2FunctionServiceConfigSecretVolumesVersionsList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)

func NewCloudfunctions2FunctionServiceConfigSecretVolumesVersionsOutputReference_Override

func NewCloudfunctions2FunctionServiceConfigSecretVolumesVersionsOutputReference_Override(c Cloudfunctions2FunctionServiceConfigSecretVolumesVersionsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)

func NewCloudfunctions2FunctionTimeoutsOutputReference_Override

func NewCloudfunctions2FunctionTimeoutsOutputReference_Override(c Cloudfunctions2FunctionTimeoutsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)

func NewCloudfunctions2Function_Override

func NewCloudfunctions2Function_Override(c Cloudfunctions2Function, scope constructs.Construct, id *string, config *Cloudfunctions2FunctionConfig)

Create a new {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/cloudfunctions2_function google_cloudfunctions2_function} Resource.

Types

type Cloudfunctions2Function

type Cloudfunctions2Function interface {
	cdktf.TerraformResource
	BuildConfig() Cloudfunctions2FunctionBuildConfigOutputReference
	BuildConfigInput() *Cloudfunctions2FunctionBuildConfig
	// Experimental.
	CdktfStack() cdktf.TerraformStack
	// Experimental.
	Connection() interface{}
	// Experimental.
	SetConnection(val interface{})
	// Experimental.
	ConstructNodeMetadata() *map[string]interface{}
	// Experimental.
	Count() interface{}
	// Experimental.
	SetCount(val interface{})
	// Experimental.
	DependsOn() *[]*string
	// Experimental.
	SetDependsOn(val *[]*string)
	Description() *string
	SetDescription(val *string)
	DescriptionInput() *string
	EffectiveLabels() cdktf.StringMap
	Environment() *string
	EventTrigger() Cloudfunctions2FunctionEventTriggerOutputReference
	EventTriggerInput() *Cloudfunctions2FunctionEventTrigger
	// Experimental.
	ForEach() cdktf.ITerraformIterator
	// Experimental.
	SetForEach(val cdktf.ITerraformIterator)
	// Experimental.
	Fqn() *string
	// Experimental.
	FriendlyUniqueId() *string
	Id() *string
	SetId(val *string)
	IdInput() *string
	KmsKeyName() *string
	SetKmsKeyName(val *string)
	KmsKeyNameInput() *string
	Labels() *map[string]*string
	SetLabels(val *map[string]*string)
	LabelsInput() *map[string]*string
	// Experimental.
	Lifecycle() *cdktf.TerraformResourceLifecycle
	// Experimental.
	SetLifecycle(val *cdktf.TerraformResourceLifecycle)
	Location() *string
	SetLocation(val *string)
	LocationInput() *string
	Name() *string
	SetName(val *string)
	NameInput() *string
	// The tree node.
	Node() constructs.Node
	Project() *string
	SetProject(val *string)
	ProjectInput() *string
	// Experimental.
	Provider() cdktf.TerraformProvider
	// Experimental.
	SetProvider(val cdktf.TerraformProvider)
	// Experimental.
	Provisioners() *[]interface{}
	// Experimental.
	SetProvisioners(val *[]interface{})
	// Experimental.
	RawOverrides() interface{}
	ServiceConfig() Cloudfunctions2FunctionServiceConfigOutputReference
	ServiceConfigInput() *Cloudfunctions2FunctionServiceConfig
	State() *string
	// Experimental.
	TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata
	TerraformLabels() cdktf.StringMap
	// Experimental.
	TerraformMetaArguments() *map[string]interface{}
	// Experimental.
	TerraformResourceType() *string
	Timeouts() Cloudfunctions2FunctionTimeoutsOutputReference
	TimeoutsInput() interface{}
	UpdateTime() *string
	Url() *string
	// Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move.
	// Experimental.
	AddMoveTarget(moveTarget *string)
	// Experimental.
	AddOverride(path *string, value interface{})
	// Experimental.
	GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{}
	// Experimental.
	GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable
	// Experimental.
	GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool
	// Experimental.
	GetListAttribute(terraformAttribute *string) *[]*string
	// Experimental.
	GetNumberAttribute(terraformAttribute *string) *float64
	// Experimental.
	GetNumberListAttribute(terraformAttribute *string) *[]*float64
	// Experimental.
	GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64
	// Experimental.
	GetStringAttribute(terraformAttribute *string) *string
	// Experimental.
	GetStringMapAttribute(terraformAttribute *string) *map[string]*string
	// Experimental.
	HasResourceMove() interface{}
	// Experimental.
	ImportFrom(id *string, provider cdktf.TerraformProvider)
	// Experimental.
	InterpolationForAttribute(terraformAttribute *string) cdktf.IResolvable
	// 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.
	// Experimental.
	MoveFromId(id *string)
	// Moves this resource to the target resource given by moveTarget.
	// Experimental.
	MoveTo(moveTarget *string, index interface{})
	// Moves this resource to the resource corresponding to "id".
	// Experimental.
	MoveToId(id *string)
	// Overrides the auto-generated logical ID with a specific ID.
	// Experimental.
	OverrideLogicalId(newLogicalId *string)
	PutBuildConfig(value *Cloudfunctions2FunctionBuildConfig)
	PutEventTrigger(value *Cloudfunctions2FunctionEventTrigger)
	PutServiceConfig(value *Cloudfunctions2FunctionServiceConfig)
	PutTimeouts(value *Cloudfunctions2FunctionTimeouts)
	ResetBuildConfig()
	ResetDescription()
	ResetEventTrigger()
	ResetId()
	ResetKmsKeyName()
	ResetLabels()
	// Resets a previously passed logical Id to use the auto-generated logical id again.
	// Experimental.
	ResetOverrideLogicalId()
	ResetProject()
	ResetServiceConfig()
	ResetTimeouts()
	SynthesizeAttributes() *map[string]interface{}
	SynthesizeHclAttributes() *map[string]interface{}
	// Experimental.
	ToHclTerraform() interface{}
	// Experimental.
	ToMetadata() interface{}
	// Returns a string representation of this construct.
	ToString() *string
	// Adds this resource to the terraform JSON output.
	// Experimental.
	ToTerraform() interface{}
}

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

func NewCloudfunctions2Function

func NewCloudfunctions2Function(scope constructs.Construct, id *string, config *Cloudfunctions2FunctionConfig) Cloudfunctions2Function

Create a new {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/cloudfunctions2_function google_cloudfunctions2_function} Resource.

type Cloudfunctions2FunctionBuildConfig

type Cloudfunctions2FunctionBuildConfig struct {
	// automatic_update_policy block.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/cloudfunctions2_function#automatic_update_policy Cloudfunctions2Function#automatic_update_policy}
	AutomaticUpdatePolicy *Cloudfunctions2FunctionBuildConfigAutomaticUpdatePolicy `field:"optional" json:"automaticUpdatePolicy" yaml:"automaticUpdatePolicy"`
	// 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.14.1/docs/resources/cloudfunctions2_function#docker_repository Cloudfunctions2Function#docker_repository}
	DockerRepository *string `field:"optional" json:"dockerRepository" yaml:"dockerRepository"`
	// 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.14.1/docs/resources/cloudfunctions2_function#entry_point Cloudfunctions2Function#entry_point}
	EntryPoint *string `field:"optional" json:"entryPoint" yaml:"entryPoint"`
	// User-provided build-time environment variables for the function.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/cloudfunctions2_function#environment_variables Cloudfunctions2Function#environment_variables}
	EnvironmentVariables *map[string]*string `field:"optional" json:"environmentVariables" yaml:"environmentVariables"`
	// on_deploy_update_policy block.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/cloudfunctions2_function#on_deploy_update_policy Cloudfunctions2Function#on_deploy_update_policy}
	OnDeployUpdatePolicy *Cloudfunctions2FunctionBuildConfigOnDeployUpdatePolicy `field:"optional" json:"onDeployUpdatePolicy" yaml:"onDeployUpdatePolicy"`
	// 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.14.1/docs/resources/cloudfunctions2_function#runtime Cloudfunctions2Function#runtime}
	Runtime *string `field:"optional" json:"runtime" yaml:"runtime"`
	// 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.14.1/docs/resources/cloudfunctions2_function#service_account Cloudfunctions2Function#service_account}
	ServiceAccount *string `field:"optional" json:"serviceAccount" yaml:"serviceAccount"`
	// source block.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/cloudfunctions2_function#source Cloudfunctions2Function#source}
	Source *Cloudfunctions2FunctionBuildConfigSource `field:"optional" json:"source" yaml:"source"`
	// 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.14.1/docs/resources/cloudfunctions2_function#worker_pool Cloudfunctions2Function#worker_pool}
	WorkerPool *string `field:"optional" json:"workerPool" yaml:"workerPool"`
}

type Cloudfunctions2FunctionBuildConfigAutomaticUpdatePolicy

type Cloudfunctions2FunctionBuildConfigAutomaticUpdatePolicy struct {
}

type Cloudfunctions2FunctionBuildConfigAutomaticUpdatePolicyOutputReference

type Cloudfunctions2FunctionBuildConfigAutomaticUpdatePolicyOutputReference interface {
	cdktf.ComplexObject
	// the index of the complex object in a list.
	// Experimental.
	ComplexObjectIndex() interface{}
	// Experimental.
	SetComplexObjectIndex(val interface{})
	// set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items.
	// Experimental.
	ComplexObjectIsFromSet() *bool
	// Experimental.
	SetComplexObjectIsFromSet(val *bool)
	// 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.
	// Experimental.
	CreationStack() *[]*string
	// Experimental.
	Fqn() *string
	InternalValue() *Cloudfunctions2FunctionBuildConfigAutomaticUpdatePolicy
	SetInternalValue(val *Cloudfunctions2FunctionBuildConfigAutomaticUpdatePolicy)
	// Experimental.
	TerraformAttribute() *string
	// Experimental.
	SetTerraformAttribute(val *string)
	// Experimental.
	TerraformResource() cdktf.IInterpolatingParent
	// Experimental.
	SetTerraformResource(val cdktf.IInterpolatingParent)
	// Experimental.
	ComputeFqn() *string
	// Experimental.
	GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{}
	// Experimental.
	GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable
	// Experimental.
	GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool
	// Experimental.
	GetListAttribute(terraformAttribute *string) *[]*string
	// Experimental.
	GetNumberAttribute(terraformAttribute *string) *float64
	// Experimental.
	GetNumberListAttribute(terraformAttribute *string) *[]*float64
	// Experimental.
	GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64
	// Experimental.
	GetStringAttribute(terraformAttribute *string) *string
	// Experimental.
	GetStringMapAttribute(terraformAttribute *string) *map[string]*string
	// Experimental.
	InterpolationAsList() cdktf.IResolvable
	// Experimental.
	InterpolationForAttribute(property *string) cdktf.IResolvable
	// Produce the Token's value at resolution time.
	// Experimental.
	Resolve(_context cdktf.IResolveContext) interface{}
	// Return a string representation of this resolvable object.
	//
	// Returns a reversible string representation.
	// Experimental.
	ToString() *string
}

func NewCloudfunctions2FunctionBuildConfigAutomaticUpdatePolicyOutputReference

func NewCloudfunctions2FunctionBuildConfigAutomaticUpdatePolicyOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) Cloudfunctions2FunctionBuildConfigAutomaticUpdatePolicyOutputReference

type Cloudfunctions2FunctionBuildConfigOnDeployUpdatePolicy

type Cloudfunctions2FunctionBuildConfigOnDeployUpdatePolicy struct {
}

type Cloudfunctions2FunctionBuildConfigOnDeployUpdatePolicyOutputReference

type Cloudfunctions2FunctionBuildConfigOnDeployUpdatePolicyOutputReference interface {
	cdktf.ComplexObject
	// the index of the complex object in a list.
	// Experimental.
	ComplexObjectIndex() interface{}
	// Experimental.
	SetComplexObjectIndex(val interface{})
	// set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items.
	// Experimental.
	ComplexObjectIsFromSet() *bool
	// Experimental.
	SetComplexObjectIsFromSet(val *bool)
	// 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.
	// Experimental.
	CreationStack() *[]*string
	// Experimental.
	Fqn() *string
	InternalValue() *Cloudfunctions2FunctionBuildConfigOnDeployUpdatePolicy
	SetInternalValue(val *Cloudfunctions2FunctionBuildConfigOnDeployUpdatePolicy)
	RuntimeVersion() *string
	// Experimental.
	TerraformAttribute() *string
	// Experimental.
	SetTerraformAttribute(val *string)
	// Experimental.
	TerraformResource() cdktf.IInterpolatingParent
	// Experimental.
	SetTerraformResource(val cdktf.IInterpolatingParent)
	// Experimental.
	ComputeFqn() *string
	// Experimental.
	GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{}
	// Experimental.
	GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable
	// Experimental.
	GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool
	// Experimental.
	GetListAttribute(terraformAttribute *string) *[]*string
	// Experimental.
	GetNumberAttribute(terraformAttribute *string) *float64
	// Experimental.
	GetNumberListAttribute(terraformAttribute *string) *[]*float64
	// Experimental.
	GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64
	// Experimental.
	GetStringAttribute(terraformAttribute *string) *string
	// Experimental.
	GetStringMapAttribute(terraformAttribute *string) *map[string]*string
	// Experimental.
	InterpolationAsList() cdktf.IResolvable
	// Experimental.
	InterpolationForAttribute(property *string) cdktf.IResolvable
	// Produce the Token's value at resolution time.
	// Experimental.
	Resolve(_context cdktf.IResolveContext) interface{}
	// Return a string representation of this resolvable object.
	//
	// Returns a reversible string representation.
	// Experimental.
	ToString() *string
}

func NewCloudfunctions2FunctionBuildConfigOnDeployUpdatePolicyOutputReference

func NewCloudfunctions2FunctionBuildConfigOnDeployUpdatePolicyOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) Cloudfunctions2FunctionBuildConfigOnDeployUpdatePolicyOutputReference

type Cloudfunctions2FunctionBuildConfigOutputReference

type Cloudfunctions2FunctionBuildConfigOutputReference interface {
	cdktf.ComplexObject
	AutomaticUpdatePolicy() Cloudfunctions2FunctionBuildConfigAutomaticUpdatePolicyOutputReference
	AutomaticUpdatePolicyInput() *Cloudfunctions2FunctionBuildConfigAutomaticUpdatePolicy
	BuildAttribute() *string
	// the index of the complex object in a list.
	// Experimental.
	ComplexObjectIndex() interface{}
	// Experimental.
	SetComplexObjectIndex(val interface{})
	// set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items.
	// Experimental.
	ComplexObjectIsFromSet() *bool
	// Experimental.
	SetComplexObjectIsFromSet(val *bool)
	// 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.
	// Experimental.
	CreationStack() *[]*string
	DockerRepository() *string
	SetDockerRepository(val *string)
	DockerRepositoryInput() *string
	EntryPoint() *string
	SetEntryPoint(val *string)
	EntryPointInput() *string
	EnvironmentVariables() *map[string]*string
	SetEnvironmentVariables(val *map[string]*string)
	EnvironmentVariablesInput() *map[string]*string
	// Experimental.
	Fqn() *string
	InternalValue() *Cloudfunctions2FunctionBuildConfig
	SetInternalValue(val *Cloudfunctions2FunctionBuildConfig)
	OnDeployUpdatePolicy() Cloudfunctions2FunctionBuildConfigOnDeployUpdatePolicyOutputReference
	OnDeployUpdatePolicyInput() *Cloudfunctions2FunctionBuildConfigOnDeployUpdatePolicy
	Runtime() *string
	SetRuntime(val *string)
	RuntimeInput() *string
	ServiceAccount() *string
	SetServiceAccount(val *string)
	ServiceAccountInput() *string
	Source() Cloudfunctions2FunctionBuildConfigSourceOutputReference
	SourceInput() *Cloudfunctions2FunctionBuildConfigSource
	// Experimental.
	TerraformAttribute() *string
	// Experimental.
	SetTerraformAttribute(val *string)
	// Experimental.
	TerraformResource() cdktf.IInterpolatingParent
	// Experimental.
	SetTerraformResource(val cdktf.IInterpolatingParent)
	WorkerPool() *string
	SetWorkerPool(val *string)
	WorkerPoolInput() *string
	// Experimental.
	ComputeFqn() *string
	// Experimental.
	GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{}
	// Experimental.
	GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable
	// Experimental.
	GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool
	// Experimental.
	GetListAttribute(terraformAttribute *string) *[]*string
	// Experimental.
	GetNumberAttribute(terraformAttribute *string) *float64
	// Experimental.
	GetNumberListAttribute(terraformAttribute *string) *[]*float64
	// Experimental.
	GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64
	// Experimental.
	GetStringAttribute(terraformAttribute *string) *string
	// Experimental.
	GetStringMapAttribute(terraformAttribute *string) *map[string]*string
	// Experimental.
	InterpolationAsList() cdktf.IResolvable
	// Experimental.
	InterpolationForAttribute(property *string) cdktf.IResolvable
	PutAutomaticUpdatePolicy(value *Cloudfunctions2FunctionBuildConfigAutomaticUpdatePolicy)
	PutOnDeployUpdatePolicy(value *Cloudfunctions2FunctionBuildConfigOnDeployUpdatePolicy)
	PutSource(value *Cloudfunctions2FunctionBuildConfigSource)
	ResetAutomaticUpdatePolicy()
	ResetDockerRepository()
	ResetEntryPoint()
	ResetEnvironmentVariables()
	ResetOnDeployUpdatePolicy()
	ResetRuntime()
	ResetServiceAccount()
	ResetSource()
	ResetWorkerPool()
	// Produce the Token's value at resolution time.
	// Experimental.
	Resolve(_context cdktf.IResolveContext) interface{}
	// Return a string representation of this resolvable object.
	//
	// Returns a reversible string representation.
	// Experimental.
	ToString() *string
}

func NewCloudfunctions2FunctionBuildConfigOutputReference

func NewCloudfunctions2FunctionBuildConfigOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) Cloudfunctions2FunctionBuildConfigOutputReference

type Cloudfunctions2FunctionBuildConfigSource

type Cloudfunctions2FunctionBuildConfigSource struct {
	// repo_source block.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/cloudfunctions2_function#repo_source Cloudfunctions2Function#repo_source}
	RepoSource *Cloudfunctions2FunctionBuildConfigSourceRepoSource `field:"optional" json:"repoSource" yaml:"repoSource"`
	// storage_source block.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/cloudfunctions2_function#storage_source Cloudfunctions2Function#storage_source}
	StorageSource *Cloudfunctions2FunctionBuildConfigSourceStorageSource `field:"optional" json:"storageSource" yaml:"storageSource"`
}

type Cloudfunctions2FunctionBuildConfigSourceOutputReference

type Cloudfunctions2FunctionBuildConfigSourceOutputReference interface {
	cdktf.ComplexObject
	// the index of the complex object in a list.
	// Experimental.
	ComplexObjectIndex() interface{}
	// Experimental.
	SetComplexObjectIndex(val interface{})
	// set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items.
	// Experimental.
	ComplexObjectIsFromSet() *bool
	// Experimental.
	SetComplexObjectIsFromSet(val *bool)
	// 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.
	// Experimental.
	CreationStack() *[]*string
	// Experimental.
	Fqn() *string
	InternalValue() *Cloudfunctions2FunctionBuildConfigSource
	SetInternalValue(val *Cloudfunctions2FunctionBuildConfigSource)
	RepoSource() Cloudfunctions2FunctionBuildConfigSourceRepoSourceOutputReference
	RepoSourceInput() *Cloudfunctions2FunctionBuildConfigSourceRepoSource
	StorageSource() Cloudfunctions2FunctionBuildConfigSourceStorageSourceOutputReference
	StorageSourceInput() *Cloudfunctions2FunctionBuildConfigSourceStorageSource
	// Experimental.
	TerraformAttribute() *string
	// Experimental.
	SetTerraformAttribute(val *string)
	// Experimental.
	TerraformResource() cdktf.IInterpolatingParent
	// Experimental.
	SetTerraformResource(val cdktf.IInterpolatingParent)
	// Experimental.
	ComputeFqn() *string
	// Experimental.
	GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{}
	// Experimental.
	GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable
	// Experimental.
	GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool
	// Experimental.
	GetListAttribute(terraformAttribute *string) *[]*string
	// Experimental.
	GetNumberAttribute(terraformAttribute *string) *float64
	// Experimental.
	GetNumberListAttribute(terraformAttribute *string) *[]*float64
	// Experimental.
	GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64
	// Experimental.
	GetStringAttribute(terraformAttribute *string) *string
	// Experimental.
	GetStringMapAttribute(terraformAttribute *string) *map[string]*string
	// Experimental.
	InterpolationAsList() cdktf.IResolvable
	// Experimental.
	InterpolationForAttribute(property *string) cdktf.IResolvable
	PutRepoSource(value *Cloudfunctions2FunctionBuildConfigSourceRepoSource)
	PutStorageSource(value *Cloudfunctions2FunctionBuildConfigSourceStorageSource)
	ResetRepoSource()
	ResetStorageSource()
	// Produce the Token's value at resolution time.
	// Experimental.
	Resolve(_context cdktf.IResolveContext) interface{}
	// Return a string representation of this resolvable object.
	//
	// Returns a reversible string representation.
	// Experimental.
	ToString() *string
}

func NewCloudfunctions2FunctionBuildConfigSourceOutputReference

func NewCloudfunctions2FunctionBuildConfigSourceOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) Cloudfunctions2FunctionBuildConfigSourceOutputReference

type Cloudfunctions2FunctionBuildConfigSourceRepoSource

type Cloudfunctions2FunctionBuildConfigSourceRepoSource struct {
	// Regex matching branches to build.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/cloudfunctions2_function#branch_name Cloudfunctions2Function#branch_name}
	BranchName *string `field:"optional" json:"branchName" yaml:"branchName"`
	// Regex matching tags to build.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/cloudfunctions2_function#commit_sha Cloudfunctions2Function#commit_sha}
	CommitSha *string `field:"optional" json:"commitSha" yaml:"commitSha"`
	// 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.14.1/docs/resources/cloudfunctions2_function#dir Cloudfunctions2Function#dir}
	Dir *string `field:"optional" json:"dir" yaml:"dir"`
	// 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.14.1/docs/resources/cloudfunctions2_function#invert_regex Cloudfunctions2Function#invert_regex}
	InvertRegex interface{} `field:"optional" json:"invertRegex" yaml:"invertRegex"`
	// 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.14.1/docs/resources/cloudfunctions2_function#project_id Cloudfunctions2Function#project_id}
	ProjectId *string `field:"optional" json:"projectId" yaml:"projectId"`
	// Name of the Cloud Source Repository.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/cloudfunctions2_function#repo_name Cloudfunctions2Function#repo_name}
	RepoName *string `field:"optional" json:"repoName" yaml:"repoName"`
	// Regex matching tags to build.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/cloudfunctions2_function#tag_name Cloudfunctions2Function#tag_name}
	TagName *string `field:"optional" json:"tagName" yaml:"tagName"`
}

type Cloudfunctions2FunctionBuildConfigSourceRepoSourceOutputReference

type Cloudfunctions2FunctionBuildConfigSourceRepoSourceOutputReference interface {
	cdktf.ComplexObject
	BranchName() *string
	SetBranchName(val *string)
	BranchNameInput() *string
	CommitSha() *string
	SetCommitSha(val *string)
	CommitShaInput() *string
	// the index of the complex object in a list.
	// Experimental.
	ComplexObjectIndex() interface{}
	// Experimental.
	SetComplexObjectIndex(val interface{})
	// set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items.
	// Experimental.
	ComplexObjectIsFromSet() *bool
	// Experimental.
	SetComplexObjectIsFromSet(val *bool)
	// 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.
	// Experimental.
	CreationStack() *[]*string
	Dir() *string
	SetDir(val *string)
	DirInput() *string
	// Experimental.
	Fqn() *string
	InternalValue() *Cloudfunctions2FunctionBuildConfigSourceRepoSource
	SetInternalValue(val *Cloudfunctions2FunctionBuildConfigSourceRepoSource)
	InvertRegex() interface{}
	SetInvertRegex(val interface{})
	InvertRegexInput() interface{}
	ProjectId() *string
	SetProjectId(val *string)
	ProjectIdInput() *string
	RepoName() *string
	SetRepoName(val *string)
	RepoNameInput() *string
	TagName() *string
	SetTagName(val *string)
	TagNameInput() *string
	// Experimental.
	TerraformAttribute() *string
	// Experimental.
	SetTerraformAttribute(val *string)
	// Experimental.
	TerraformResource() cdktf.IInterpolatingParent
	// Experimental.
	SetTerraformResource(val cdktf.IInterpolatingParent)
	// Experimental.
	ComputeFqn() *string
	// Experimental.
	GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{}
	// Experimental.
	GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable
	// Experimental.
	GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool
	// Experimental.
	GetListAttribute(terraformAttribute *string) *[]*string
	// Experimental.
	GetNumberAttribute(terraformAttribute *string) *float64
	// Experimental.
	GetNumberListAttribute(terraformAttribute *string) *[]*float64
	// Experimental.
	GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64
	// Experimental.
	GetStringAttribute(terraformAttribute *string) *string
	// Experimental.
	GetStringMapAttribute(terraformAttribute *string) *map[string]*string
	// Experimental.
	InterpolationAsList() cdktf.IResolvable
	// Experimental.
	InterpolationForAttribute(property *string) cdktf.IResolvable
	ResetBranchName()
	ResetCommitSha()
	ResetDir()
	ResetInvertRegex()
	ResetProjectId()
	ResetRepoName()
	ResetTagName()
	// Produce the Token's value at resolution time.
	// Experimental.
	Resolve(_context cdktf.IResolveContext) interface{}
	// Return a string representation of this resolvable object.
	//
	// Returns a reversible string representation.
	// Experimental.
	ToString() *string
}

func NewCloudfunctions2FunctionBuildConfigSourceRepoSourceOutputReference

func NewCloudfunctions2FunctionBuildConfigSourceRepoSourceOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) Cloudfunctions2FunctionBuildConfigSourceRepoSourceOutputReference

type Cloudfunctions2FunctionBuildConfigSourceStorageSource

type Cloudfunctions2FunctionBuildConfigSourceStorageSource struct {
	// Google Cloud Storage bucket containing the source.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/cloudfunctions2_function#bucket Cloudfunctions2Function#bucket}
	Bucket *string `field:"optional" json:"bucket" yaml:"bucket"`
	// 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.14.1/docs/resources/cloudfunctions2_function#generation Cloudfunctions2Function#generation}
	Generation *float64 `field:"optional" json:"generation" yaml:"generation"`
	// Google Cloud Storage object containing the source.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/cloudfunctions2_function#object Cloudfunctions2Function#object}
	Object *string `field:"optional" json:"object" yaml:"object"`
}

type Cloudfunctions2FunctionBuildConfigSourceStorageSourceOutputReference

type Cloudfunctions2FunctionBuildConfigSourceStorageSourceOutputReference interface {
	cdktf.ComplexObject
	Bucket() *string
	SetBucket(val *string)
	BucketInput() *string
	// the index of the complex object in a list.
	// Experimental.
	ComplexObjectIndex() interface{}
	// Experimental.
	SetComplexObjectIndex(val interface{})
	// set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items.
	// Experimental.
	ComplexObjectIsFromSet() *bool
	// Experimental.
	SetComplexObjectIsFromSet(val *bool)
	// 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.
	// Experimental.
	CreationStack() *[]*string
	// Experimental.
	Fqn() *string
	Generation() *float64
	SetGeneration(val *float64)
	GenerationInput() *float64
	InternalValue() *Cloudfunctions2FunctionBuildConfigSourceStorageSource
	SetInternalValue(val *Cloudfunctions2FunctionBuildConfigSourceStorageSource)
	Object() *string
	SetObject(val *string)
	ObjectInput() *string
	// Experimental.
	TerraformAttribute() *string
	// Experimental.
	SetTerraformAttribute(val *string)
	// Experimental.
	TerraformResource() cdktf.IInterpolatingParent
	// Experimental.
	SetTerraformResource(val cdktf.IInterpolatingParent)
	// Experimental.
	ComputeFqn() *string
	// Experimental.
	GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{}
	// Experimental.
	GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable
	// Experimental.
	GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool
	// Experimental.
	GetListAttribute(terraformAttribute *string) *[]*string
	// Experimental.
	GetNumberAttribute(terraformAttribute *string) *float64
	// Experimental.
	GetNumberListAttribute(terraformAttribute *string) *[]*float64
	// Experimental.
	GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64
	// Experimental.
	GetStringAttribute(terraformAttribute *string) *string
	// Experimental.
	GetStringMapAttribute(terraformAttribute *string) *map[string]*string
	// Experimental.
	InterpolationAsList() cdktf.IResolvable
	// Experimental.
	InterpolationForAttribute(property *string) cdktf.IResolvable
	ResetBucket()
	ResetGeneration()
	ResetObject()
	// Produce the Token's value at resolution time.
	// Experimental.
	Resolve(_context cdktf.IResolveContext) interface{}
	// Return a string representation of this resolvable object.
	//
	// Returns a reversible string representation.
	// Experimental.
	ToString() *string
}

func NewCloudfunctions2FunctionBuildConfigSourceStorageSourceOutputReference

func NewCloudfunctions2FunctionBuildConfigSourceStorageSourceOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) Cloudfunctions2FunctionBuildConfigSourceStorageSourceOutputReference

type Cloudfunctions2FunctionConfig

type Cloudfunctions2FunctionConfig struct {
	// Experimental.
	Connection interface{} `field:"optional" json:"connection" yaml:"connection"`
	// Experimental.
	Count interface{} `field:"optional" json:"count" yaml:"count"`
	// Experimental.
	DependsOn *[]cdktf.ITerraformDependable `field:"optional" json:"dependsOn" yaml:"dependsOn"`
	// Experimental.
	ForEach cdktf.ITerraformIterator `field:"optional" json:"forEach" yaml:"forEach"`
	// Experimental.
	Lifecycle *cdktf.TerraformResourceLifecycle `field:"optional" json:"lifecycle" yaml:"lifecycle"`
	// Experimental.
	Provider cdktf.TerraformProvider `field:"optional" json:"provider" yaml:"provider"`
	// Experimental.
	Provisioners *[]interface{} `field:"optional" json:"provisioners" yaml:"provisioners"`
	// The location of this cloud function.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/cloudfunctions2_function#location Cloudfunctions2Function#location}
	Location *string `field:"required" json:"location" yaml:"location"`
	// 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.14.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.
	Name *string `field:"required" json:"name" yaml:"name"`
	// build_config block.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/cloudfunctions2_function#build_config Cloudfunctions2Function#build_config}
	BuildConfig *Cloudfunctions2FunctionBuildConfig `field:"optional" json:"buildConfig" yaml:"buildConfig"`
	// User-provided description of a function.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/cloudfunctions2_function#description Cloudfunctions2Function#description}
	Description *string `field:"optional" json:"description" yaml:"description"`
	// event_trigger block.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/cloudfunctions2_function#event_trigger Cloudfunctions2Function#event_trigger}
	EventTrigger *Cloudfunctions2FunctionEventTrigger `field:"optional" json:"eventTrigger" yaml:"eventTrigger"`
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.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.
	Id *string `field:"optional" json:"id" yaml:"id"`
	// 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.14.1/docs/resources/cloudfunctions2_function#kms_key_name Cloudfunctions2Function#kms_key_name}
	KmsKeyName *string `field:"optional" json:"kmsKeyName" yaml:"kmsKeyName"`
	// 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.14.1/docs/resources/cloudfunctions2_function#labels Cloudfunctions2Function#labels}
	Labels *map[string]*string `field:"optional" json:"labels" yaml:"labels"`
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/cloudfunctions2_function#project Cloudfunctions2Function#project}.
	Project *string `field:"optional" json:"project" yaml:"project"`
	// service_config block.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/cloudfunctions2_function#service_config Cloudfunctions2Function#service_config}
	ServiceConfig *Cloudfunctions2FunctionServiceConfig `field:"optional" json:"serviceConfig" yaml:"serviceConfig"`
	// timeouts block.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/cloudfunctions2_function#timeouts Cloudfunctions2Function#timeouts}
	Timeouts *Cloudfunctions2FunctionTimeouts `field:"optional" json:"timeouts" yaml:"timeouts"`
}

type Cloudfunctions2FunctionEventTrigger

type Cloudfunctions2FunctionEventTrigger struct {
	// event_filters block.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/cloudfunctions2_function#event_filters Cloudfunctions2Function#event_filters}
	EventFilters interface{} `field:"optional" json:"eventFilters" yaml:"eventFilters"`
	// Required. The type of event to observe.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/cloudfunctions2_function#event_type Cloudfunctions2Function#event_type}
	EventType *string `field:"optional" json:"eventType" yaml:"eventType"`
	// 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.14.1/docs/resources/cloudfunctions2_function#pubsub_topic Cloudfunctions2Function#pubsub_topic}
	PubsubTopic *string `field:"optional" json:"pubsubTopic" yaml:"pubsubTopic"`
	// 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.14.1/docs/resources/cloudfunctions2_function#retry_policy Cloudfunctions2Function#retry_policy}
	RetryPolicy *string `field:"optional" json:"retryPolicy" yaml:"retryPolicy"`
	// 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.14.1/docs/resources/cloudfunctions2_function#service_account_email Cloudfunctions2Function#service_account_email}
	ServiceAccountEmail *string `field:"optional" json:"serviceAccountEmail" yaml:"serviceAccountEmail"`
	// 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.14.1/docs/resources/cloudfunctions2_function#trigger_region Cloudfunctions2Function#trigger_region}
	TriggerRegion *string `field:"optional" json:"triggerRegion" yaml:"triggerRegion"`
}

type Cloudfunctions2FunctionEventTriggerEventFilters

type Cloudfunctions2FunctionEventTriggerEventFilters struct {
	// '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.14.1/docs/resources/cloudfunctions2_function#attribute Cloudfunctions2Function#attribute}
	Attribute *string `field:"required" json:"attribute" yaml:"attribute"`
	// 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.14.1/docs/resources/cloudfunctions2_function#value Cloudfunctions2Function#value}
	Value *string `field:"required" json:"value" yaml:"value"`
	// 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](https://cloud.google.com/eventarc/docs/path-patterns)'
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/cloudfunctions2_function#operator Cloudfunctions2Function#operator}
	Operator *string `field:"optional" json:"operator" yaml:"operator"`
}

type Cloudfunctions2FunctionEventTriggerEventFiltersList

type Cloudfunctions2FunctionEventTriggerEventFiltersList interface {
	cdktf.ComplexList
	// 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.
	// Experimental.
	CreationStack() *[]*string
	// Experimental.
	Fqn() *string
	InternalValue() interface{}
	SetInternalValue(val interface{})
	// The attribute on the parent resource this class is referencing.
	TerraformAttribute() *string
	SetTerraformAttribute(val *string)
	// The parent resource.
	TerraformResource() cdktf.IInterpolatingParent
	SetTerraformResource(val cdktf.IInterpolatingParent)
	// whether the list is wrapping a set (will add tolist() to be able to access an item via an index).
	WrapsSet() *bool
	SetWrapsSet(val *bool)
	// Creating an iterator for this complex list.
	//
	// The list will be converted into a map with the mapKeyAttributeName as the key.
	// Experimental.
	AllWithMapKey(mapKeyAttributeName *string) cdktf.DynamicListTerraformIterator
	// Experimental.
	ComputeFqn() *string
	Get(index *float64) Cloudfunctions2FunctionEventTriggerEventFiltersOutputReference
	// Produce the Token's value at resolution time.
	// Experimental.
	Resolve(_context cdktf.IResolveContext) interface{}
	// Return a string representation of this resolvable object.
	//
	// Returns a reversible string representation.
	// Experimental.
	ToString() *string
}

func NewCloudfunctions2FunctionEventTriggerEventFiltersList

func NewCloudfunctions2FunctionEventTriggerEventFiltersList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) Cloudfunctions2FunctionEventTriggerEventFiltersList

type Cloudfunctions2FunctionEventTriggerEventFiltersOutputReference

type Cloudfunctions2FunctionEventTriggerEventFiltersOutputReference interface {
	cdktf.ComplexObject
	Attribute() *string
	SetAttribute(val *string)
	AttributeInput() *string
	// the index of the complex object in a list.
	// Experimental.
	ComplexObjectIndex() interface{}
	// Experimental.
	SetComplexObjectIndex(val interface{})
	// set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items.
	// Experimental.
	ComplexObjectIsFromSet() *bool
	// Experimental.
	SetComplexObjectIsFromSet(val *bool)
	// 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.
	// Experimental.
	CreationStack() *[]*string
	// Experimental.
	Fqn() *string
	InternalValue() interface{}
	SetInternalValue(val interface{})
	Operator() *string
	SetOperator(val *string)
	OperatorInput() *string
	// Experimental.
	TerraformAttribute() *string
	// Experimental.
	SetTerraformAttribute(val *string)
	// Experimental.
	TerraformResource() cdktf.IInterpolatingParent
	// Experimental.
	SetTerraformResource(val cdktf.IInterpolatingParent)
	Value() *string
	SetValue(val *string)
	ValueInput() *string
	// Experimental.
	ComputeFqn() *string
	// Experimental.
	GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{}
	// Experimental.
	GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable
	// Experimental.
	GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool
	// Experimental.
	GetListAttribute(terraformAttribute *string) *[]*string
	// Experimental.
	GetNumberAttribute(terraformAttribute *string) *float64
	// Experimental.
	GetNumberListAttribute(terraformAttribute *string) *[]*float64
	// Experimental.
	GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64
	// Experimental.
	GetStringAttribute(terraformAttribute *string) *string
	// Experimental.
	GetStringMapAttribute(terraformAttribute *string) *map[string]*string
	// Experimental.
	InterpolationAsList() cdktf.IResolvable
	// Experimental.
	InterpolationForAttribute(property *string) cdktf.IResolvable
	ResetOperator()
	// Produce the Token's value at resolution time.
	// Experimental.
	Resolve(_context cdktf.IResolveContext) interface{}
	// Return a string representation of this resolvable object.
	//
	// Returns a reversible string representation.
	// Experimental.
	ToString() *string
}

func NewCloudfunctions2FunctionEventTriggerEventFiltersOutputReference

func NewCloudfunctions2FunctionEventTriggerEventFiltersOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) Cloudfunctions2FunctionEventTriggerEventFiltersOutputReference

type Cloudfunctions2FunctionEventTriggerOutputReference

type Cloudfunctions2FunctionEventTriggerOutputReference interface {
	cdktf.ComplexObject
	// the index of the complex object in a list.
	// Experimental.
	ComplexObjectIndex() interface{}
	// Experimental.
	SetComplexObjectIndex(val interface{})
	// set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items.
	// Experimental.
	ComplexObjectIsFromSet() *bool
	// Experimental.
	SetComplexObjectIsFromSet(val *bool)
	// 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.
	// Experimental.
	CreationStack() *[]*string
	EventFilters() Cloudfunctions2FunctionEventTriggerEventFiltersList
	EventFiltersInput() interface{}
	EventType() *string
	SetEventType(val *string)
	EventTypeInput() *string
	// Experimental.
	Fqn() *string
	InternalValue() *Cloudfunctions2FunctionEventTrigger
	SetInternalValue(val *Cloudfunctions2FunctionEventTrigger)
	PubsubTopic() *string
	SetPubsubTopic(val *string)
	PubsubTopicInput() *string
	RetryPolicy() *string
	SetRetryPolicy(val *string)
	RetryPolicyInput() *string
	ServiceAccountEmail() *string
	SetServiceAccountEmail(val *string)
	ServiceAccountEmailInput() *string
	// Experimental.
	TerraformAttribute() *string
	// Experimental.
	SetTerraformAttribute(val *string)
	// Experimental.
	TerraformResource() cdktf.IInterpolatingParent
	// Experimental.
	SetTerraformResource(val cdktf.IInterpolatingParent)
	Trigger() *string
	TriggerRegion() *string
	SetTriggerRegion(val *string)
	TriggerRegionInput() *string
	// Experimental.
	ComputeFqn() *string
	// Experimental.
	GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{}
	// Experimental.
	GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable
	// Experimental.
	GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool
	// Experimental.
	GetListAttribute(terraformAttribute *string) *[]*string
	// Experimental.
	GetNumberAttribute(terraformAttribute *string) *float64
	// Experimental.
	GetNumberListAttribute(terraformAttribute *string) *[]*float64
	// Experimental.
	GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64
	// Experimental.
	GetStringAttribute(terraformAttribute *string) *string
	// Experimental.
	GetStringMapAttribute(terraformAttribute *string) *map[string]*string
	// Experimental.
	InterpolationAsList() cdktf.IResolvable
	// Experimental.
	InterpolationForAttribute(property *string) cdktf.IResolvable
	PutEventFilters(value interface{})
	ResetEventFilters()
	ResetEventType()
	ResetPubsubTopic()
	ResetRetryPolicy()
	ResetServiceAccountEmail()
	ResetTriggerRegion()
	// Produce the Token's value at resolution time.
	// Experimental.
	Resolve(_context cdktf.IResolveContext) interface{}
	// Return a string representation of this resolvable object.
	//
	// Returns a reversible string representation.
	// Experimental.
	ToString() *string
}

func NewCloudfunctions2FunctionEventTriggerOutputReference

func NewCloudfunctions2FunctionEventTriggerOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) Cloudfunctions2FunctionEventTriggerOutputReference

type Cloudfunctions2FunctionServiceConfig

type Cloudfunctions2FunctionServiceConfig struct {
	// 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.14.1/docs/resources/cloudfunctions2_function#all_traffic_on_latest_revision Cloudfunctions2Function#all_traffic_on_latest_revision}
	AllTrafficOnLatestRevision interface{} `field:"optional" json:"allTrafficOnLatestRevision" yaml:"allTrafficOnLatestRevision"`
	// 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.14.1/docs/resources/cloudfunctions2_function#available_cpu Cloudfunctions2Function#available_cpu}
	AvailableCpu *string `field:"optional" json:"availableCpu" yaml:"availableCpu"`
	// 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.14.1/docs/resources/cloudfunctions2_function#available_memory Cloudfunctions2Function#available_memory}
	AvailableMemory *string `field:"optional" json:"availableMemory" yaml:"availableMemory"`
	// Environment variables that shall be available during function execution.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/cloudfunctions2_function#environment_variables Cloudfunctions2Function#environment_variables}
	EnvironmentVariables *map[string]*string `field:"optional" json:"environmentVariables" yaml:"environmentVariables"`
	// 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.14.1/docs/resources/cloudfunctions2_function#ingress_settings Cloudfunctions2Function#ingress_settings}
	IngressSettings *string `field:"optional" json:"ingressSettings" yaml:"ingressSettings"`
	// 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.14.1/docs/resources/cloudfunctions2_function#max_instance_count Cloudfunctions2Function#max_instance_count}
	MaxInstanceCount *float64 `field:"optional" json:"maxInstanceCount" yaml:"maxInstanceCount"`
	// 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.14.1/docs/resources/cloudfunctions2_function#max_instance_request_concurrency Cloudfunctions2Function#max_instance_request_concurrency}
	MaxInstanceRequestConcurrency *float64 `field:"optional" json:"maxInstanceRequestConcurrency" yaml:"maxInstanceRequestConcurrency"`
	// 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.14.1/docs/resources/cloudfunctions2_function#min_instance_count Cloudfunctions2Function#min_instance_count}
	MinInstanceCount *float64 `field:"optional" json:"minInstanceCount" yaml:"minInstanceCount"`
	// secret_environment_variables block.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/cloudfunctions2_function#secret_environment_variables Cloudfunctions2Function#secret_environment_variables}
	SecretEnvironmentVariables interface{} `field:"optional" json:"secretEnvironmentVariables" yaml:"secretEnvironmentVariables"`
	// secret_volumes block.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/cloudfunctions2_function#secret_volumes Cloudfunctions2Function#secret_volumes}
	SecretVolumes interface{} `field:"optional" json:"secretVolumes" yaml:"secretVolumes"`
	// Name of the service associated with a Function.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/cloudfunctions2_function#service Cloudfunctions2Function#service}
	Service *string `field:"optional" json:"service" yaml:"service"`
	// The email of the service account for this function.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/cloudfunctions2_function#service_account_email Cloudfunctions2Function#service_account_email}
	ServiceAccountEmail *string `field:"optional" json:"serviceAccountEmail" yaml:"serviceAccountEmail"`
	// 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.14.1/docs/resources/cloudfunctions2_function#timeout_seconds Cloudfunctions2Function#timeout_seconds}
	TimeoutSeconds *float64 `field:"optional" json:"timeoutSeconds" yaml:"timeoutSeconds"`
	// 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.14.1/docs/resources/cloudfunctions2_function#vpc_connector Cloudfunctions2Function#vpc_connector}
	VpcConnector *string `field:"optional" json:"vpcConnector" yaml:"vpcConnector"`
	// 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.14.1/docs/resources/cloudfunctions2_function#vpc_connector_egress_settings Cloudfunctions2Function#vpc_connector_egress_settings}
	VpcConnectorEgressSettings *string `field:"optional" json:"vpcConnectorEgressSettings" yaml:"vpcConnectorEgressSettings"`
}

type Cloudfunctions2FunctionServiceConfigOutputReference

type Cloudfunctions2FunctionServiceConfigOutputReference interface {
	cdktf.ComplexObject
	AllTrafficOnLatestRevision() interface{}
	SetAllTrafficOnLatestRevision(val interface{})
	AllTrafficOnLatestRevisionInput() interface{}
	AvailableCpu() *string
	SetAvailableCpu(val *string)
	AvailableCpuInput() *string
	AvailableMemory() *string
	SetAvailableMemory(val *string)
	AvailableMemoryInput() *string
	// the index of the complex object in a list.
	// Experimental.
	ComplexObjectIndex() interface{}
	// Experimental.
	SetComplexObjectIndex(val interface{})
	// set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items.
	// Experimental.
	ComplexObjectIsFromSet() *bool
	// Experimental.
	SetComplexObjectIsFromSet(val *bool)
	// 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.
	// Experimental.
	CreationStack() *[]*string
	EnvironmentVariables() *map[string]*string
	SetEnvironmentVariables(val *map[string]*string)
	EnvironmentVariablesInput() *map[string]*string
	// Experimental.
	Fqn() *string
	GcfUri() *string
	IngressSettings() *string
	SetIngressSettings(val *string)
	IngressSettingsInput() *string
	InternalValue() *Cloudfunctions2FunctionServiceConfig
	SetInternalValue(val *Cloudfunctions2FunctionServiceConfig)
	MaxInstanceCount() *float64
	SetMaxInstanceCount(val *float64)
	MaxInstanceCountInput() *float64
	MaxInstanceRequestConcurrency() *float64
	SetMaxInstanceRequestConcurrency(val *float64)
	MaxInstanceRequestConcurrencyInput() *float64
	MinInstanceCount() *float64
	SetMinInstanceCount(val *float64)
	MinInstanceCountInput() *float64
	SecretEnvironmentVariables() Cloudfunctions2FunctionServiceConfigSecretEnvironmentVariablesList
	SecretEnvironmentVariablesInput() interface{}
	SecretVolumes() Cloudfunctions2FunctionServiceConfigSecretVolumesList
	SecretVolumesInput() interface{}
	Service() *string
	SetService(val *string)
	ServiceAccountEmail() *string
	SetServiceAccountEmail(val *string)
	ServiceAccountEmailInput() *string
	ServiceInput() *string
	// Experimental.
	TerraformAttribute() *string
	// Experimental.
	SetTerraformAttribute(val *string)
	// Experimental.
	TerraformResource() cdktf.IInterpolatingParent
	// Experimental.
	SetTerraformResource(val cdktf.IInterpolatingParent)
	TimeoutSeconds() *float64
	SetTimeoutSeconds(val *float64)
	TimeoutSecondsInput() *float64
	Uri() *string
	VpcConnector() *string
	SetVpcConnector(val *string)
	VpcConnectorEgressSettings() *string
	SetVpcConnectorEgressSettings(val *string)
	VpcConnectorEgressSettingsInput() *string
	VpcConnectorInput() *string
	// Experimental.
	ComputeFqn() *string
	// Experimental.
	GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{}
	// Experimental.
	GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable
	// Experimental.
	GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool
	// Experimental.
	GetListAttribute(terraformAttribute *string) *[]*string
	// Experimental.
	GetNumberAttribute(terraformAttribute *string) *float64
	// Experimental.
	GetNumberListAttribute(terraformAttribute *string) *[]*float64
	// Experimental.
	GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64
	// Experimental.
	GetStringAttribute(terraformAttribute *string) *string
	// Experimental.
	GetStringMapAttribute(terraformAttribute *string) *map[string]*string
	// Experimental.
	InterpolationAsList() cdktf.IResolvable
	// Experimental.
	InterpolationForAttribute(property *string) cdktf.IResolvable
	PutSecretEnvironmentVariables(value interface{})
	PutSecretVolumes(value interface{})
	ResetAllTrafficOnLatestRevision()
	ResetAvailableCpu()
	ResetAvailableMemory()
	ResetEnvironmentVariables()
	ResetIngressSettings()
	ResetMaxInstanceCount()
	ResetMaxInstanceRequestConcurrency()
	ResetMinInstanceCount()
	ResetSecretEnvironmentVariables()
	ResetSecretVolumes()
	ResetService()
	ResetServiceAccountEmail()
	ResetTimeoutSeconds()
	ResetVpcConnector()
	ResetVpcConnectorEgressSettings()
	// Produce the Token's value at resolution time.
	// Experimental.
	Resolve(_context cdktf.IResolveContext) interface{}
	// Return a string representation of this resolvable object.
	//
	// Returns a reversible string representation.
	// Experimental.
	ToString() *string
}

func NewCloudfunctions2FunctionServiceConfigOutputReference

func NewCloudfunctions2FunctionServiceConfigOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) Cloudfunctions2FunctionServiceConfigOutputReference

type Cloudfunctions2FunctionServiceConfigSecretEnvironmentVariables

type Cloudfunctions2FunctionServiceConfigSecretEnvironmentVariables struct {
	// Name of the environment variable.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/cloudfunctions2_function#key Cloudfunctions2Function#key}
	Key *string `field:"required" json:"key" yaml:"key"`
	// 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.14.1/docs/resources/cloudfunctions2_function#project_id Cloudfunctions2Function#project_id}
	ProjectId *string `field:"required" json:"projectId" yaml:"projectId"`
	// 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.14.1/docs/resources/cloudfunctions2_function#secret Cloudfunctions2Function#secret}
	Secret *string `field:"required" json:"secret" yaml:"secret"`
	// 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.14.1/docs/resources/cloudfunctions2_function#version Cloudfunctions2Function#version}
	Version *string `field:"required" json:"version" yaml:"version"`
}

type Cloudfunctions2FunctionServiceConfigSecretEnvironmentVariablesList

type Cloudfunctions2FunctionServiceConfigSecretEnvironmentVariablesList interface {
	cdktf.ComplexList
	// 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.
	// Experimental.
	CreationStack() *[]*string
	// Experimental.
	Fqn() *string
	InternalValue() interface{}
	SetInternalValue(val interface{})
	// The attribute on the parent resource this class is referencing.
	TerraformAttribute() *string
	SetTerraformAttribute(val *string)
	// The parent resource.
	TerraformResource() cdktf.IInterpolatingParent
	SetTerraformResource(val cdktf.IInterpolatingParent)
	// whether the list is wrapping a set (will add tolist() to be able to access an item via an index).
	WrapsSet() *bool
	SetWrapsSet(val *bool)
	// Creating an iterator for this complex list.
	//
	// The list will be converted into a map with the mapKeyAttributeName as the key.
	// Experimental.
	AllWithMapKey(mapKeyAttributeName *string) cdktf.DynamicListTerraformIterator
	// Experimental.
	ComputeFqn() *string
	Get(index *float64) Cloudfunctions2FunctionServiceConfigSecretEnvironmentVariablesOutputReference
	// Produce the Token's value at resolution time.
	// Experimental.
	Resolve(_context cdktf.IResolveContext) interface{}
	// Return a string representation of this resolvable object.
	//
	// Returns a reversible string representation.
	// Experimental.
	ToString() *string
}

func NewCloudfunctions2FunctionServiceConfigSecretEnvironmentVariablesList

func NewCloudfunctions2FunctionServiceConfigSecretEnvironmentVariablesList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) Cloudfunctions2FunctionServiceConfigSecretEnvironmentVariablesList

type Cloudfunctions2FunctionServiceConfigSecretEnvironmentVariablesOutputReference

type Cloudfunctions2FunctionServiceConfigSecretEnvironmentVariablesOutputReference interface {
	cdktf.ComplexObject
	// the index of the complex object in a list.
	// Experimental.
	ComplexObjectIndex() interface{}
	// Experimental.
	SetComplexObjectIndex(val interface{})
	// set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items.
	// Experimental.
	ComplexObjectIsFromSet() *bool
	// Experimental.
	SetComplexObjectIsFromSet(val *bool)
	// 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.
	// Experimental.
	CreationStack() *[]*string
	// Experimental.
	Fqn() *string
	InternalValue() interface{}
	SetInternalValue(val interface{})
	Key() *string
	SetKey(val *string)
	KeyInput() *string
	ProjectId() *string
	SetProjectId(val *string)
	ProjectIdInput() *string
	Secret() *string
	SetSecret(val *string)
	SecretInput() *string
	// Experimental.
	TerraformAttribute() *string
	// Experimental.
	SetTerraformAttribute(val *string)
	// Experimental.
	TerraformResource() cdktf.IInterpolatingParent
	// Experimental.
	SetTerraformResource(val cdktf.IInterpolatingParent)
	Version() *string
	SetVersion(val *string)
	VersionInput() *string
	// Experimental.
	ComputeFqn() *string
	// Experimental.
	GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{}
	// Experimental.
	GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable
	// Experimental.
	GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool
	// Experimental.
	GetListAttribute(terraformAttribute *string) *[]*string
	// Experimental.
	GetNumberAttribute(terraformAttribute *string) *float64
	// Experimental.
	GetNumberListAttribute(terraformAttribute *string) *[]*float64
	// Experimental.
	GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64
	// Experimental.
	GetStringAttribute(terraformAttribute *string) *string
	// Experimental.
	GetStringMapAttribute(terraformAttribute *string) *map[string]*string
	// Experimental.
	InterpolationAsList() cdktf.IResolvable
	// Experimental.
	InterpolationForAttribute(property *string) cdktf.IResolvable
	// Produce the Token's value at resolution time.
	// Experimental.
	Resolve(_context cdktf.IResolveContext) interface{}
	// Return a string representation of this resolvable object.
	//
	// Returns a reversible string representation.
	// Experimental.
	ToString() *string
}

func NewCloudfunctions2FunctionServiceConfigSecretEnvironmentVariablesOutputReference

func NewCloudfunctions2FunctionServiceConfigSecretEnvironmentVariablesOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) Cloudfunctions2FunctionServiceConfigSecretEnvironmentVariablesOutputReference

type Cloudfunctions2FunctionServiceConfigSecretVolumes

type Cloudfunctions2FunctionServiceConfigSecretVolumes struct {
	// 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.14.1/docs/resources/cloudfunctions2_function#mount_path Cloudfunctions2Function#mount_path}
	MountPath *string `field:"required" json:"mountPath" yaml:"mountPath"`
	// 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.14.1/docs/resources/cloudfunctions2_function#project_id Cloudfunctions2Function#project_id}
	ProjectId *string `field:"required" json:"projectId" yaml:"projectId"`
	// 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.14.1/docs/resources/cloudfunctions2_function#secret Cloudfunctions2Function#secret}
	Secret *string `field:"required" json:"secret" yaml:"secret"`
	// versions block.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/cloudfunctions2_function#versions Cloudfunctions2Function#versions}
	Versions interface{} `field:"optional" json:"versions" yaml:"versions"`
}

type Cloudfunctions2FunctionServiceConfigSecretVolumesList

type Cloudfunctions2FunctionServiceConfigSecretVolumesList interface {
	cdktf.ComplexList
	// 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.
	// Experimental.
	CreationStack() *[]*string
	// Experimental.
	Fqn() *string
	InternalValue() interface{}
	SetInternalValue(val interface{})
	// The attribute on the parent resource this class is referencing.
	TerraformAttribute() *string
	SetTerraformAttribute(val *string)
	// The parent resource.
	TerraformResource() cdktf.IInterpolatingParent
	SetTerraformResource(val cdktf.IInterpolatingParent)
	// whether the list is wrapping a set (will add tolist() to be able to access an item via an index).
	WrapsSet() *bool
	SetWrapsSet(val *bool)
	// Creating an iterator for this complex list.
	//
	// The list will be converted into a map with the mapKeyAttributeName as the key.
	// Experimental.
	AllWithMapKey(mapKeyAttributeName *string) cdktf.DynamicListTerraformIterator
	// Experimental.
	ComputeFqn() *string
	Get(index *float64) Cloudfunctions2FunctionServiceConfigSecretVolumesOutputReference
	// Produce the Token's value at resolution time.
	// Experimental.
	Resolve(_context cdktf.IResolveContext) interface{}
	// Return a string representation of this resolvable object.
	//
	// Returns a reversible string representation.
	// Experimental.
	ToString() *string
}

func NewCloudfunctions2FunctionServiceConfigSecretVolumesList

func NewCloudfunctions2FunctionServiceConfigSecretVolumesList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) Cloudfunctions2FunctionServiceConfigSecretVolumesList

type Cloudfunctions2FunctionServiceConfigSecretVolumesOutputReference

type Cloudfunctions2FunctionServiceConfigSecretVolumesOutputReference interface {
	cdktf.ComplexObject
	// the index of the complex object in a list.
	// Experimental.
	ComplexObjectIndex() interface{}
	// Experimental.
	SetComplexObjectIndex(val interface{})
	// set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items.
	// Experimental.
	ComplexObjectIsFromSet() *bool
	// Experimental.
	SetComplexObjectIsFromSet(val *bool)
	// 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.
	// Experimental.
	CreationStack() *[]*string
	// Experimental.
	Fqn() *string
	InternalValue() interface{}
	SetInternalValue(val interface{})
	MountPath() *string
	SetMountPath(val *string)
	MountPathInput() *string
	ProjectId() *string
	SetProjectId(val *string)
	ProjectIdInput() *string
	Secret() *string
	SetSecret(val *string)
	SecretInput() *string
	// Experimental.
	TerraformAttribute() *string
	// Experimental.
	SetTerraformAttribute(val *string)
	// Experimental.
	TerraformResource() cdktf.IInterpolatingParent
	// Experimental.
	SetTerraformResource(val cdktf.IInterpolatingParent)
	Versions() Cloudfunctions2FunctionServiceConfigSecretVolumesVersionsList
	VersionsInput() interface{}
	// Experimental.
	ComputeFqn() *string
	// Experimental.
	GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{}
	// Experimental.
	GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable
	// Experimental.
	GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool
	// Experimental.
	GetListAttribute(terraformAttribute *string) *[]*string
	// Experimental.
	GetNumberAttribute(terraformAttribute *string) *float64
	// Experimental.
	GetNumberListAttribute(terraformAttribute *string) *[]*float64
	// Experimental.
	GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64
	// Experimental.
	GetStringAttribute(terraformAttribute *string) *string
	// Experimental.
	GetStringMapAttribute(terraformAttribute *string) *map[string]*string
	// Experimental.
	InterpolationAsList() cdktf.IResolvable
	// Experimental.
	InterpolationForAttribute(property *string) cdktf.IResolvable
	PutVersions(value interface{})
	ResetVersions()
	// Produce the Token's value at resolution time.
	// Experimental.
	Resolve(_context cdktf.IResolveContext) interface{}
	// Return a string representation of this resolvable object.
	//
	// Returns a reversible string representation.
	// Experimental.
	ToString() *string
}

func NewCloudfunctions2FunctionServiceConfigSecretVolumesOutputReference

func NewCloudfunctions2FunctionServiceConfigSecretVolumesOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) Cloudfunctions2FunctionServiceConfigSecretVolumesOutputReference

type Cloudfunctions2FunctionServiceConfigSecretVolumesVersions

type Cloudfunctions2FunctionServiceConfigSecretVolumesVersions struct {
	// 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.14.1/docs/resources/cloudfunctions2_function#path Cloudfunctions2Function#path}
	Path *string `field:"required" json:"path" yaml:"path"`
	// 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.14.1/docs/resources/cloudfunctions2_function#version Cloudfunctions2Function#version}
	Version *string `field:"required" json:"version" yaml:"version"`
}

type Cloudfunctions2FunctionServiceConfigSecretVolumesVersionsList

type Cloudfunctions2FunctionServiceConfigSecretVolumesVersionsList interface {
	cdktf.ComplexList
	// 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.
	// Experimental.
	CreationStack() *[]*string
	// Experimental.
	Fqn() *string
	InternalValue() interface{}
	SetInternalValue(val interface{})
	// The attribute on the parent resource this class is referencing.
	TerraformAttribute() *string
	SetTerraformAttribute(val *string)
	// The parent resource.
	TerraformResource() cdktf.IInterpolatingParent
	SetTerraformResource(val cdktf.IInterpolatingParent)
	// whether the list is wrapping a set (will add tolist() to be able to access an item via an index).
	WrapsSet() *bool
	SetWrapsSet(val *bool)
	// Creating an iterator for this complex list.
	//
	// The list will be converted into a map with the mapKeyAttributeName as the key.
	// Experimental.
	AllWithMapKey(mapKeyAttributeName *string) cdktf.DynamicListTerraformIterator
	// Experimental.
	ComputeFqn() *string
	Get(index *float64) Cloudfunctions2FunctionServiceConfigSecretVolumesVersionsOutputReference
	// Produce the Token's value at resolution time.
	// Experimental.
	Resolve(_context cdktf.IResolveContext) interface{}
	// Return a string representation of this resolvable object.
	//
	// Returns a reversible string representation.
	// Experimental.
	ToString() *string
}

func NewCloudfunctions2FunctionServiceConfigSecretVolumesVersionsList

func NewCloudfunctions2FunctionServiceConfigSecretVolumesVersionsList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) Cloudfunctions2FunctionServiceConfigSecretVolumesVersionsList

type Cloudfunctions2FunctionServiceConfigSecretVolumesVersionsOutputReference

type Cloudfunctions2FunctionServiceConfigSecretVolumesVersionsOutputReference interface {
	cdktf.ComplexObject
	// the index of the complex object in a list.
	// Experimental.
	ComplexObjectIndex() interface{}
	// Experimental.
	SetComplexObjectIndex(val interface{})
	// set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items.
	// Experimental.
	ComplexObjectIsFromSet() *bool
	// Experimental.
	SetComplexObjectIsFromSet(val *bool)
	// 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.
	// Experimental.
	CreationStack() *[]*string
	// Experimental.
	Fqn() *string
	InternalValue() interface{}
	SetInternalValue(val interface{})
	Path() *string
	SetPath(val *string)
	PathInput() *string
	// Experimental.
	TerraformAttribute() *string
	// Experimental.
	SetTerraformAttribute(val *string)
	// Experimental.
	TerraformResource() cdktf.IInterpolatingParent
	// Experimental.
	SetTerraformResource(val cdktf.IInterpolatingParent)
	Version() *string
	SetVersion(val *string)
	VersionInput() *string
	// Experimental.
	ComputeFqn() *string
	// Experimental.
	GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{}
	// Experimental.
	GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable
	// Experimental.
	GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool
	// Experimental.
	GetListAttribute(terraformAttribute *string) *[]*string
	// Experimental.
	GetNumberAttribute(terraformAttribute *string) *float64
	// Experimental.
	GetNumberListAttribute(terraformAttribute *string) *[]*float64
	// Experimental.
	GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64
	// Experimental.
	GetStringAttribute(terraformAttribute *string) *string
	// Experimental.
	GetStringMapAttribute(terraformAttribute *string) *map[string]*string
	// Experimental.
	InterpolationAsList() cdktf.IResolvable
	// Experimental.
	InterpolationForAttribute(property *string) cdktf.IResolvable
	// Produce the Token's value at resolution time.
	// Experimental.
	Resolve(_context cdktf.IResolveContext) interface{}
	// Return a string representation of this resolvable object.
	//
	// Returns a reversible string representation.
	// Experimental.
	ToString() *string
}

func NewCloudfunctions2FunctionServiceConfigSecretVolumesVersionsOutputReference

func NewCloudfunctions2FunctionServiceConfigSecretVolumesVersionsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) Cloudfunctions2FunctionServiceConfigSecretVolumesVersionsOutputReference

type Cloudfunctions2FunctionTimeouts

type Cloudfunctions2FunctionTimeouts struct {
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/cloudfunctions2_function#create Cloudfunctions2Function#create}.
	Create *string `field:"optional" json:"create" yaml:"create"`
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/cloudfunctions2_function#delete Cloudfunctions2Function#delete}.
	Delete *string `field:"optional" json:"delete" yaml:"delete"`
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/cloudfunctions2_function#update Cloudfunctions2Function#update}.
	Update *string `field:"optional" json:"update" yaml:"update"`
}

type Cloudfunctions2FunctionTimeoutsOutputReference

type Cloudfunctions2FunctionTimeoutsOutputReference interface {
	cdktf.ComplexObject
	// the index of the complex object in a list.
	// Experimental.
	ComplexObjectIndex() interface{}
	// Experimental.
	SetComplexObjectIndex(val interface{})
	// set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items.
	// Experimental.
	ComplexObjectIsFromSet() *bool
	// Experimental.
	SetComplexObjectIsFromSet(val *bool)
	Create() *string
	SetCreate(val *string)
	CreateInput() *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.
	// Experimental.
	CreationStack() *[]*string
	Delete() *string
	SetDelete(val *string)
	DeleteInput() *string
	// Experimental.
	Fqn() *string
	InternalValue() interface{}
	SetInternalValue(val interface{})
	// Experimental.
	TerraformAttribute() *string
	// Experimental.
	SetTerraformAttribute(val *string)
	// Experimental.
	TerraformResource() cdktf.IInterpolatingParent
	// Experimental.
	SetTerraformResource(val cdktf.IInterpolatingParent)
	Update() *string
	SetUpdate(val *string)
	UpdateInput() *string
	// Experimental.
	ComputeFqn() *string
	// Experimental.
	GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{}
	// Experimental.
	GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable
	// Experimental.
	GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool
	// Experimental.
	GetListAttribute(terraformAttribute *string) *[]*string
	// Experimental.
	GetNumberAttribute(terraformAttribute *string) *float64
	// Experimental.
	GetNumberListAttribute(terraformAttribute *string) *[]*float64
	// Experimental.
	GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64
	// Experimental.
	GetStringAttribute(terraformAttribute *string) *string
	// Experimental.
	GetStringMapAttribute(terraformAttribute *string) *map[string]*string
	// Experimental.
	InterpolationAsList() cdktf.IResolvable
	// Experimental.
	InterpolationForAttribute(property *string) cdktf.IResolvable
	ResetCreate()
	ResetDelete()
	ResetUpdate()
	// Produce the Token's value at resolution time.
	// Experimental.
	Resolve(_context cdktf.IResolveContext) interface{}
	// Return a string representation of this resolvable object.
	//
	// Returns a reversible string representation.
	// Experimental.
	ToString() *string
}

func NewCloudfunctions2FunctionTimeoutsOutputReference

func NewCloudfunctions2FunctionTimeoutsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) Cloudfunctions2FunctionTimeoutsOutputReference

Source Files

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL