Documentation
¶
Index ¶
- func GoogleCloudfunctions2Function_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, ...) cdktf.ImportableResource
- func GoogleCloudfunctions2Function_IsConstruct(x interface{}) *bool
- func GoogleCloudfunctions2Function_IsTerraformElement(x interface{}) *bool
- func GoogleCloudfunctions2Function_IsTerraformResource(x interface{}) *bool
- func GoogleCloudfunctions2Function_TfResourceType() *string
- func NewGoogleCloudfunctions2FunctionBuildConfigAutomaticUpdatePolicyOutputReference_Override(g GoogleCloudfunctions2FunctionBuildConfigAutomaticUpdatePolicyOutputReference, ...)
- func NewGoogleCloudfunctions2FunctionBuildConfigOnDeployUpdatePolicyOutputReference_Override(g GoogleCloudfunctions2FunctionBuildConfigOnDeployUpdatePolicyOutputReference, ...)
- func NewGoogleCloudfunctions2FunctionBuildConfigOutputReference_Override(g GoogleCloudfunctions2FunctionBuildConfigOutputReference, ...)
- func NewGoogleCloudfunctions2FunctionBuildConfigSourceOutputReference_Override(g GoogleCloudfunctions2FunctionBuildConfigSourceOutputReference, ...)
- func NewGoogleCloudfunctions2FunctionBuildConfigSourceRepoSourceOutputReference_Override(g GoogleCloudfunctions2FunctionBuildConfigSourceRepoSourceOutputReference, ...)
- func NewGoogleCloudfunctions2FunctionBuildConfigSourceStorageSourceOutputReference_Override(g GoogleCloudfunctions2FunctionBuildConfigSourceStorageSourceOutputReference, ...)
- func NewGoogleCloudfunctions2FunctionEventTriggerEventFiltersList_Override(g GoogleCloudfunctions2FunctionEventTriggerEventFiltersList, ...)
- func NewGoogleCloudfunctions2FunctionEventTriggerEventFiltersOutputReference_Override(g GoogleCloudfunctions2FunctionEventTriggerEventFiltersOutputReference, ...)
- func NewGoogleCloudfunctions2FunctionEventTriggerOutputReference_Override(g GoogleCloudfunctions2FunctionEventTriggerOutputReference, ...)
- func NewGoogleCloudfunctions2FunctionServiceConfigDirectVpcNetworkInterfaceList_Override(g GoogleCloudfunctions2FunctionServiceConfigDirectVpcNetworkInterfaceList, ...)
- func NewGoogleCloudfunctions2FunctionServiceConfigDirectVpcNetworkInterfaceOutputReference_Override(...)
- func NewGoogleCloudfunctions2FunctionServiceConfigOutputReference_Override(g GoogleCloudfunctions2FunctionServiceConfigOutputReference, ...)
- func NewGoogleCloudfunctions2FunctionServiceConfigSecretEnvironmentVariablesList_Override(g GoogleCloudfunctions2FunctionServiceConfigSecretEnvironmentVariablesList, ...)
- func NewGoogleCloudfunctions2FunctionServiceConfigSecretEnvironmentVariablesOutputReference_Override(...)
- func NewGoogleCloudfunctions2FunctionServiceConfigSecretVolumesList_Override(g GoogleCloudfunctions2FunctionServiceConfigSecretVolumesList, ...)
- func NewGoogleCloudfunctions2FunctionServiceConfigSecretVolumesOutputReference_Override(g GoogleCloudfunctions2FunctionServiceConfigSecretVolumesOutputReference, ...)
- func NewGoogleCloudfunctions2FunctionServiceConfigSecretVolumesVersionsList_Override(g GoogleCloudfunctions2FunctionServiceConfigSecretVolumesVersionsList, ...)
- func NewGoogleCloudfunctions2FunctionServiceConfigSecretVolumesVersionsOutputReference_Override(...)
- func NewGoogleCloudfunctions2FunctionTimeoutsOutputReference_Override(g GoogleCloudfunctions2FunctionTimeoutsOutputReference, ...)
- func NewGoogleCloudfunctions2Function_Override(g GoogleCloudfunctions2Function, scope constructs.Construct, id *string, ...)
- type GoogleCloudfunctions2Function
- type GoogleCloudfunctions2FunctionBuildConfig
- type GoogleCloudfunctions2FunctionBuildConfigAutomaticUpdatePolicy
- type GoogleCloudfunctions2FunctionBuildConfigAutomaticUpdatePolicyOutputReference
- type GoogleCloudfunctions2FunctionBuildConfigOnDeployUpdatePolicy
- type GoogleCloudfunctions2FunctionBuildConfigOnDeployUpdatePolicyOutputReference
- type GoogleCloudfunctions2FunctionBuildConfigOutputReference
- type GoogleCloudfunctions2FunctionBuildConfigSource
- type GoogleCloudfunctions2FunctionBuildConfigSourceOutputReference
- type GoogleCloudfunctions2FunctionBuildConfigSourceRepoSource
- type GoogleCloudfunctions2FunctionBuildConfigSourceRepoSourceOutputReference
- type GoogleCloudfunctions2FunctionBuildConfigSourceStorageSource
- type GoogleCloudfunctions2FunctionBuildConfigSourceStorageSourceOutputReference
- type GoogleCloudfunctions2FunctionConfig
- type GoogleCloudfunctions2FunctionEventTrigger
- type GoogleCloudfunctions2FunctionEventTriggerEventFilters
- type GoogleCloudfunctions2FunctionEventTriggerEventFiltersList
- type GoogleCloudfunctions2FunctionEventTriggerEventFiltersOutputReference
- type GoogleCloudfunctions2FunctionEventTriggerOutputReference
- type GoogleCloudfunctions2FunctionServiceConfig
- type GoogleCloudfunctions2FunctionServiceConfigDirectVpcNetworkInterface
- type GoogleCloudfunctions2FunctionServiceConfigDirectVpcNetworkInterfaceList
- type GoogleCloudfunctions2FunctionServiceConfigDirectVpcNetworkInterfaceOutputReference
- type GoogleCloudfunctions2FunctionServiceConfigOutputReference
- type GoogleCloudfunctions2FunctionServiceConfigSecretEnvironmentVariables
- type GoogleCloudfunctions2FunctionServiceConfigSecretEnvironmentVariablesList
- type GoogleCloudfunctions2FunctionServiceConfigSecretEnvironmentVariablesOutputReference
- type GoogleCloudfunctions2FunctionServiceConfigSecretVolumes
- type GoogleCloudfunctions2FunctionServiceConfigSecretVolumesList
- type GoogleCloudfunctions2FunctionServiceConfigSecretVolumesOutputReference
- type GoogleCloudfunctions2FunctionServiceConfigSecretVolumesVersions
- type GoogleCloudfunctions2FunctionServiceConfigSecretVolumesVersionsList
- type GoogleCloudfunctions2FunctionServiceConfigSecretVolumesVersionsOutputReference
- type GoogleCloudfunctions2FunctionTimeouts
- type GoogleCloudfunctions2FunctionTimeoutsOutputReference
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GoogleCloudfunctions2Function_GenerateConfigForImport ¶
func GoogleCloudfunctions2Function_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, provider cdktf.TerraformProvider) cdktf.ImportableResource
Generates CDKTF code for importing a GoogleCloudfunctions2Function resource upon running "cdktf plan <stack-name>".
func GoogleCloudfunctions2Function_IsConstruct ¶
func GoogleCloudfunctions2Function_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 GoogleCloudfunctions2Function_IsTerraformElement ¶
func GoogleCloudfunctions2Function_IsTerraformElement(x interface{}) *bool
Experimental.
func GoogleCloudfunctions2Function_IsTerraformResource ¶
func GoogleCloudfunctions2Function_IsTerraformResource(x interface{}) *bool
Experimental.
func GoogleCloudfunctions2Function_TfResourceType ¶
func GoogleCloudfunctions2Function_TfResourceType() *string
func NewGoogleCloudfunctions2FunctionBuildConfigAutomaticUpdatePolicyOutputReference_Override ¶
func NewGoogleCloudfunctions2FunctionBuildConfigAutomaticUpdatePolicyOutputReference_Override(g GoogleCloudfunctions2FunctionBuildConfigAutomaticUpdatePolicyOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewGoogleCloudfunctions2FunctionBuildConfigOnDeployUpdatePolicyOutputReference_Override ¶
func NewGoogleCloudfunctions2FunctionBuildConfigOnDeployUpdatePolicyOutputReference_Override(g GoogleCloudfunctions2FunctionBuildConfigOnDeployUpdatePolicyOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewGoogleCloudfunctions2FunctionBuildConfigOutputReference_Override ¶
func NewGoogleCloudfunctions2FunctionBuildConfigOutputReference_Override(g GoogleCloudfunctions2FunctionBuildConfigOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewGoogleCloudfunctions2FunctionBuildConfigSourceOutputReference_Override ¶
func NewGoogleCloudfunctions2FunctionBuildConfigSourceOutputReference_Override(g GoogleCloudfunctions2FunctionBuildConfigSourceOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewGoogleCloudfunctions2FunctionBuildConfigSourceRepoSourceOutputReference_Override ¶
func NewGoogleCloudfunctions2FunctionBuildConfigSourceRepoSourceOutputReference_Override(g GoogleCloudfunctions2FunctionBuildConfigSourceRepoSourceOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewGoogleCloudfunctions2FunctionBuildConfigSourceStorageSourceOutputReference_Override ¶
func NewGoogleCloudfunctions2FunctionBuildConfigSourceStorageSourceOutputReference_Override(g GoogleCloudfunctions2FunctionBuildConfigSourceStorageSourceOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewGoogleCloudfunctions2FunctionEventTriggerEventFiltersList_Override ¶
func NewGoogleCloudfunctions2FunctionEventTriggerEventFiltersList_Override(g GoogleCloudfunctions2FunctionEventTriggerEventFiltersList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewGoogleCloudfunctions2FunctionEventTriggerEventFiltersOutputReference_Override ¶
func NewGoogleCloudfunctions2FunctionEventTriggerEventFiltersOutputReference_Override(g GoogleCloudfunctions2FunctionEventTriggerEventFiltersOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewGoogleCloudfunctions2FunctionEventTriggerOutputReference_Override ¶
func NewGoogleCloudfunctions2FunctionEventTriggerOutputReference_Override(g GoogleCloudfunctions2FunctionEventTriggerOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewGoogleCloudfunctions2FunctionServiceConfigDirectVpcNetworkInterfaceList_Override ¶
func NewGoogleCloudfunctions2FunctionServiceConfigDirectVpcNetworkInterfaceList_Override(g GoogleCloudfunctions2FunctionServiceConfigDirectVpcNetworkInterfaceList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewGoogleCloudfunctions2FunctionServiceConfigDirectVpcNetworkInterfaceOutputReference_Override ¶
func NewGoogleCloudfunctions2FunctionServiceConfigDirectVpcNetworkInterfaceOutputReference_Override(g GoogleCloudfunctions2FunctionServiceConfigDirectVpcNetworkInterfaceOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewGoogleCloudfunctions2FunctionServiceConfigOutputReference_Override ¶
func NewGoogleCloudfunctions2FunctionServiceConfigOutputReference_Override(g GoogleCloudfunctions2FunctionServiceConfigOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewGoogleCloudfunctions2FunctionServiceConfigSecretEnvironmentVariablesList_Override ¶
func NewGoogleCloudfunctions2FunctionServiceConfigSecretEnvironmentVariablesList_Override(g GoogleCloudfunctions2FunctionServiceConfigSecretEnvironmentVariablesList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewGoogleCloudfunctions2FunctionServiceConfigSecretEnvironmentVariablesOutputReference_Override ¶
func NewGoogleCloudfunctions2FunctionServiceConfigSecretEnvironmentVariablesOutputReference_Override(g GoogleCloudfunctions2FunctionServiceConfigSecretEnvironmentVariablesOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewGoogleCloudfunctions2FunctionServiceConfigSecretVolumesList_Override ¶
func NewGoogleCloudfunctions2FunctionServiceConfigSecretVolumesList_Override(g GoogleCloudfunctions2FunctionServiceConfigSecretVolumesList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewGoogleCloudfunctions2FunctionServiceConfigSecretVolumesOutputReference_Override ¶
func NewGoogleCloudfunctions2FunctionServiceConfigSecretVolumesOutputReference_Override(g GoogleCloudfunctions2FunctionServiceConfigSecretVolumesOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewGoogleCloudfunctions2FunctionServiceConfigSecretVolumesVersionsList_Override ¶
func NewGoogleCloudfunctions2FunctionServiceConfigSecretVolumesVersionsList_Override(g GoogleCloudfunctions2FunctionServiceConfigSecretVolumesVersionsList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewGoogleCloudfunctions2FunctionServiceConfigSecretVolumesVersionsOutputReference_Override ¶
func NewGoogleCloudfunctions2FunctionServiceConfigSecretVolumesVersionsOutputReference_Override(g GoogleCloudfunctions2FunctionServiceConfigSecretVolumesVersionsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewGoogleCloudfunctions2FunctionTimeoutsOutputReference_Override ¶
func NewGoogleCloudfunctions2FunctionTimeoutsOutputReference_Override(g GoogleCloudfunctions2FunctionTimeoutsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewGoogleCloudfunctions2Function_Override ¶
func NewGoogleCloudfunctions2Function_Override(g GoogleCloudfunctions2Function, scope constructs.Construct, id *string, config *GoogleCloudfunctions2FunctionConfig)
Create a new {@link https://registry.terraform.io/providers/hashicorp/google-beta/7.32.0/docs/resources/google_cloudfunctions2_function google_cloudfunctions2_function} Resource.
Types ¶
type GoogleCloudfunctions2Function ¶
type GoogleCloudfunctions2Function interface {
cdktf.TerraformResource
BuildConfig() GoogleCloudfunctions2FunctionBuildConfigOutputReference
BuildConfigInput() *GoogleCloudfunctions2FunctionBuildConfig
// 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() GoogleCloudfunctions2FunctionEventTriggerOutputReference
EventTriggerInput() *GoogleCloudfunctions2FunctionEventTrigger
// 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() GoogleCloudfunctions2FunctionServiceConfigOutputReference
ServiceConfigInput() *GoogleCloudfunctions2FunctionServiceConfig
State() *string
// Experimental.
TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata
TerraformLabels() cdktf.StringMap
// Experimental.
TerraformMetaArguments() *map[string]interface{}
// Experimental.
TerraformResourceType() *string
Timeouts() GoogleCloudfunctions2FunctionTimeoutsOutputReference
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 *GoogleCloudfunctions2FunctionBuildConfig)
PutEventTrigger(value *GoogleCloudfunctions2FunctionEventTrigger)
PutServiceConfig(value *GoogleCloudfunctions2FunctionServiceConfig)
PutTimeouts(value *GoogleCloudfunctions2FunctionTimeouts)
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-beta/7.32.0/docs/resources/google_cloudfunctions2_function google_cloudfunctions2_function}.
func NewGoogleCloudfunctions2Function ¶
func NewGoogleCloudfunctions2Function(scope constructs.Construct, id *string, config *GoogleCloudfunctions2FunctionConfig) GoogleCloudfunctions2Function
Create a new {@link https://registry.terraform.io/providers/hashicorp/google-beta/7.32.0/docs/resources/google_cloudfunctions2_function google_cloudfunctions2_function} Resource.
type GoogleCloudfunctions2FunctionBuildConfig ¶
type GoogleCloudfunctions2FunctionBuildConfig struct {
// automatic_update_policy block.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/7.32.0/docs/resources/google_cloudfunctions2_function#automatic_update_policy GoogleCloudfunctions2Function#automatic_update_policy}
AutomaticUpdatePolicy *GoogleCloudfunctions2FunctionBuildConfigAutomaticUpdatePolicy `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-beta/7.32.0/docs/resources/google_cloudfunctions2_function#docker_repository GoogleCloudfunctions2Function#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-beta/7.32.0/docs/resources/google_cloudfunctions2_function#entry_point GoogleCloudfunctions2Function#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-beta/7.32.0/docs/resources/google_cloudfunctions2_function#environment_variables GoogleCloudfunctions2Function#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-beta/7.32.0/docs/resources/google_cloudfunctions2_function#on_deploy_update_policy GoogleCloudfunctions2Function#on_deploy_update_policy}
OnDeployUpdatePolicy *GoogleCloudfunctions2FunctionBuildConfigOnDeployUpdatePolicy `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-beta/7.32.0/docs/resources/google_cloudfunctions2_function#runtime GoogleCloudfunctions2Function#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-beta/7.32.0/docs/resources/google_cloudfunctions2_function#service_account GoogleCloudfunctions2Function#service_account}
ServiceAccount *string `field:"optional" json:"serviceAccount" yaml:"serviceAccount"`
// source block.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/7.32.0/docs/resources/google_cloudfunctions2_function#source GoogleCloudfunctions2Function#source}
Source *GoogleCloudfunctions2FunctionBuildConfigSource `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-beta/7.32.0/docs/resources/google_cloudfunctions2_function#worker_pool GoogleCloudfunctions2Function#worker_pool}
WorkerPool *string `field:"optional" json:"workerPool" yaml:"workerPool"`
}
type GoogleCloudfunctions2FunctionBuildConfigAutomaticUpdatePolicy ¶
type GoogleCloudfunctions2FunctionBuildConfigAutomaticUpdatePolicy struct {
}
type GoogleCloudfunctions2FunctionBuildConfigAutomaticUpdatePolicyOutputReference ¶
type GoogleCloudfunctions2FunctionBuildConfigAutomaticUpdatePolicyOutputReference 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() *GoogleCloudfunctions2FunctionBuildConfigAutomaticUpdatePolicy
SetInternalValue(val *GoogleCloudfunctions2FunctionBuildConfigAutomaticUpdatePolicy)
// 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 NewGoogleCloudfunctions2FunctionBuildConfigAutomaticUpdatePolicyOutputReference ¶
func NewGoogleCloudfunctions2FunctionBuildConfigAutomaticUpdatePolicyOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) GoogleCloudfunctions2FunctionBuildConfigAutomaticUpdatePolicyOutputReference
type GoogleCloudfunctions2FunctionBuildConfigOnDeployUpdatePolicy ¶
type GoogleCloudfunctions2FunctionBuildConfigOnDeployUpdatePolicy struct {
}
type GoogleCloudfunctions2FunctionBuildConfigOnDeployUpdatePolicyOutputReference ¶
type GoogleCloudfunctions2FunctionBuildConfigOnDeployUpdatePolicyOutputReference 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() *GoogleCloudfunctions2FunctionBuildConfigOnDeployUpdatePolicy
SetInternalValue(val *GoogleCloudfunctions2FunctionBuildConfigOnDeployUpdatePolicy)
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 NewGoogleCloudfunctions2FunctionBuildConfigOnDeployUpdatePolicyOutputReference ¶
func NewGoogleCloudfunctions2FunctionBuildConfigOnDeployUpdatePolicyOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) GoogleCloudfunctions2FunctionBuildConfigOnDeployUpdatePolicyOutputReference
type GoogleCloudfunctions2FunctionBuildConfigOutputReference ¶
type GoogleCloudfunctions2FunctionBuildConfigOutputReference interface {
cdktf.ComplexObject
AutomaticUpdatePolicy() GoogleCloudfunctions2FunctionBuildConfigAutomaticUpdatePolicyOutputReference
AutomaticUpdatePolicyInput() *GoogleCloudfunctions2FunctionBuildConfigAutomaticUpdatePolicy
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() *GoogleCloudfunctions2FunctionBuildConfig
SetInternalValue(val *GoogleCloudfunctions2FunctionBuildConfig)
OnDeployUpdatePolicy() GoogleCloudfunctions2FunctionBuildConfigOnDeployUpdatePolicyOutputReference
OnDeployUpdatePolicyInput() *GoogleCloudfunctions2FunctionBuildConfigOnDeployUpdatePolicy
Runtime() *string
SetRuntime(val *string)
RuntimeInput() *string
ServiceAccount() *string
SetServiceAccount(val *string)
ServiceAccountInput() *string
Source() GoogleCloudfunctions2FunctionBuildConfigSourceOutputReference
SourceInput() *GoogleCloudfunctions2FunctionBuildConfigSource
// 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 *GoogleCloudfunctions2FunctionBuildConfigAutomaticUpdatePolicy)
PutOnDeployUpdatePolicy(value *GoogleCloudfunctions2FunctionBuildConfigOnDeployUpdatePolicy)
PutSource(value *GoogleCloudfunctions2FunctionBuildConfigSource)
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 NewGoogleCloudfunctions2FunctionBuildConfigOutputReference ¶
func NewGoogleCloudfunctions2FunctionBuildConfigOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) GoogleCloudfunctions2FunctionBuildConfigOutputReference
type GoogleCloudfunctions2FunctionBuildConfigSource ¶
type GoogleCloudfunctions2FunctionBuildConfigSource struct {
// repo_source block.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/7.32.0/docs/resources/google_cloudfunctions2_function#repo_source GoogleCloudfunctions2Function#repo_source}
RepoSource *GoogleCloudfunctions2FunctionBuildConfigSourceRepoSource `field:"optional" json:"repoSource" yaml:"repoSource"`
// storage_source block.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/7.32.0/docs/resources/google_cloudfunctions2_function#storage_source GoogleCloudfunctions2Function#storage_source}
StorageSource *GoogleCloudfunctions2FunctionBuildConfigSourceStorageSource `field:"optional" json:"storageSource" yaml:"storageSource"`
}
type GoogleCloudfunctions2FunctionBuildConfigSourceOutputReference ¶
type GoogleCloudfunctions2FunctionBuildConfigSourceOutputReference 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() *GoogleCloudfunctions2FunctionBuildConfigSource
SetInternalValue(val *GoogleCloudfunctions2FunctionBuildConfigSource)
RepoSource() GoogleCloudfunctions2FunctionBuildConfigSourceRepoSourceOutputReference
RepoSourceInput() *GoogleCloudfunctions2FunctionBuildConfigSourceRepoSource
StorageSource() GoogleCloudfunctions2FunctionBuildConfigSourceStorageSourceOutputReference
StorageSourceInput() *GoogleCloudfunctions2FunctionBuildConfigSourceStorageSource
// 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 *GoogleCloudfunctions2FunctionBuildConfigSourceRepoSource)
PutStorageSource(value *GoogleCloudfunctions2FunctionBuildConfigSourceStorageSource)
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 NewGoogleCloudfunctions2FunctionBuildConfigSourceOutputReference ¶
func NewGoogleCloudfunctions2FunctionBuildConfigSourceOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) GoogleCloudfunctions2FunctionBuildConfigSourceOutputReference
type GoogleCloudfunctions2FunctionBuildConfigSourceRepoSource ¶
type GoogleCloudfunctions2FunctionBuildConfigSourceRepoSource struct {
// Regex matching branches to build.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/7.32.0/docs/resources/google_cloudfunctions2_function#branch_name GoogleCloudfunctions2Function#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-beta/7.32.0/docs/resources/google_cloudfunctions2_function#commit_sha GoogleCloudfunctions2Function#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-beta/7.32.0/docs/resources/google_cloudfunctions2_function#dir GoogleCloudfunctions2Function#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-beta/7.32.0/docs/resources/google_cloudfunctions2_function#invert_regex GoogleCloudfunctions2Function#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-beta/7.32.0/docs/resources/google_cloudfunctions2_function#project_id GoogleCloudfunctions2Function#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-beta/7.32.0/docs/resources/google_cloudfunctions2_function#repo_name GoogleCloudfunctions2Function#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-beta/7.32.0/docs/resources/google_cloudfunctions2_function#tag_name GoogleCloudfunctions2Function#tag_name}
TagName *string `field:"optional" json:"tagName" yaml:"tagName"`
}
type GoogleCloudfunctions2FunctionBuildConfigSourceRepoSourceOutputReference ¶
type GoogleCloudfunctions2FunctionBuildConfigSourceRepoSourceOutputReference 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() *GoogleCloudfunctions2FunctionBuildConfigSourceRepoSource
SetInternalValue(val *GoogleCloudfunctions2FunctionBuildConfigSourceRepoSource)
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 NewGoogleCloudfunctions2FunctionBuildConfigSourceRepoSourceOutputReference ¶
func NewGoogleCloudfunctions2FunctionBuildConfigSourceRepoSourceOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) GoogleCloudfunctions2FunctionBuildConfigSourceRepoSourceOutputReference
type GoogleCloudfunctions2FunctionBuildConfigSourceStorageSource ¶
type GoogleCloudfunctions2FunctionBuildConfigSourceStorageSource struct {
// Google Cloud Storage bucket containing the source.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/7.32.0/docs/resources/google_cloudfunctions2_function#bucket GoogleCloudfunctions2Function#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-beta/7.32.0/docs/resources/google_cloudfunctions2_function#generation GoogleCloudfunctions2Function#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-beta/7.32.0/docs/resources/google_cloudfunctions2_function#object GoogleCloudfunctions2Function#object}
Object *string `field:"optional" json:"object" yaml:"object"`
}
type GoogleCloudfunctions2FunctionBuildConfigSourceStorageSourceOutputReference ¶
type GoogleCloudfunctions2FunctionBuildConfigSourceStorageSourceOutputReference 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() *GoogleCloudfunctions2FunctionBuildConfigSourceStorageSource
SetInternalValue(val *GoogleCloudfunctions2FunctionBuildConfigSourceStorageSource)
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 NewGoogleCloudfunctions2FunctionBuildConfigSourceStorageSourceOutputReference ¶
func NewGoogleCloudfunctions2FunctionBuildConfigSourceStorageSourceOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) GoogleCloudfunctions2FunctionBuildConfigSourceStorageSourceOutputReference
type GoogleCloudfunctions2FunctionConfig ¶
type GoogleCloudfunctions2FunctionConfig 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-beta/7.32.0/docs/resources/google_cloudfunctions2_function#location GoogleCloudfunctions2Function#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-beta/7.32.0/docs/resources/google_cloudfunctions2_function#name GoogleCloudfunctions2Function#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-beta/7.32.0/docs/resources/google_cloudfunctions2_function#build_config GoogleCloudfunctions2Function#build_config}
BuildConfig *GoogleCloudfunctions2FunctionBuildConfig `field:"optional" json:"buildConfig" yaml:"buildConfig"`
// User-provided description of a function.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/7.32.0/docs/resources/google_cloudfunctions2_function#description GoogleCloudfunctions2Function#description}
Description *string `field:"optional" json:"description" yaml:"description"`
// event_trigger block.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/7.32.0/docs/resources/google_cloudfunctions2_function#event_trigger GoogleCloudfunctions2Function#event_trigger}
EventTrigger *GoogleCloudfunctions2FunctionEventTrigger `field:"optional" json:"eventTrigger" yaml:"eventTrigger"`
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/7.32.0/docs/resources/google_cloudfunctions2_function#id GoogleCloudfunctions2Function#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-beta/7.32.0/docs/resources/google_cloudfunctions2_function#kms_key_name GoogleCloudfunctions2Function#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-beta/7.32.0/docs/resources/google_cloudfunctions2_function#labels GoogleCloudfunctions2Function#labels}
Labels *map[string]*string `field:"optional" json:"labels" yaml:"labels"`
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/7.32.0/docs/resources/google_cloudfunctions2_function#project GoogleCloudfunctions2Function#project}.
Project *string `field:"optional" json:"project" yaml:"project"`
// service_config block.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/7.32.0/docs/resources/google_cloudfunctions2_function#service_config GoogleCloudfunctions2Function#service_config}
ServiceConfig *GoogleCloudfunctions2FunctionServiceConfig `field:"optional" json:"serviceConfig" yaml:"serviceConfig"`
// timeouts block.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/7.32.0/docs/resources/google_cloudfunctions2_function#timeouts GoogleCloudfunctions2Function#timeouts}
Timeouts *GoogleCloudfunctions2FunctionTimeouts `field:"optional" json:"timeouts" yaml:"timeouts"`
}
type GoogleCloudfunctions2FunctionEventTrigger ¶
type GoogleCloudfunctions2FunctionEventTrigger struct {
// Required. The type of event to observe.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/7.32.0/docs/resources/google_cloudfunctions2_function#event_type GoogleCloudfunctions2Function#event_type}
EventType *string `field:"required" json:"eventType" yaml:"eventType"`
// event_filters block.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/7.32.0/docs/resources/google_cloudfunctions2_function#event_filters GoogleCloudfunctions2Function#event_filters}
EventFilters interface{} `field:"optional" json:"eventFilters" yaml:"eventFilters"`
// 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-beta/7.32.0/docs/resources/google_cloudfunctions2_function#pubsub_topic GoogleCloudfunctions2Function#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-beta/7.32.0/docs/resources/google_cloudfunctions2_function#retry_policy GoogleCloudfunctions2Function#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-beta/7.32.0/docs/resources/google_cloudfunctions2_function#service_account_email GoogleCloudfunctions2Function#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-beta/7.32.0/docs/resources/google_cloudfunctions2_function#trigger_region GoogleCloudfunctions2Function#trigger_region}
TriggerRegion *string `field:"optional" json:"triggerRegion" yaml:"triggerRegion"`
}
type GoogleCloudfunctions2FunctionEventTriggerEventFilters ¶
type GoogleCloudfunctions2FunctionEventTriggerEventFilters 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-beta/7.32.0/docs/resources/google_cloudfunctions2_function#attribute GoogleCloudfunctions2Function#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-beta/7.32.0/docs/resources/google_cloudfunctions2_function#value GoogleCloudfunctions2Function#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-beta/7.32.0/docs/resources/google_cloudfunctions2_function#operator GoogleCloudfunctions2Function#operator}
Operator *string `field:"optional" json:"operator" yaml:"operator"`
}
type GoogleCloudfunctions2FunctionEventTriggerEventFiltersList ¶
type GoogleCloudfunctions2FunctionEventTriggerEventFiltersList 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) GoogleCloudfunctions2FunctionEventTriggerEventFiltersOutputReference
// 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 NewGoogleCloudfunctions2FunctionEventTriggerEventFiltersList ¶
func NewGoogleCloudfunctions2FunctionEventTriggerEventFiltersList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) GoogleCloudfunctions2FunctionEventTriggerEventFiltersList
type GoogleCloudfunctions2FunctionEventTriggerEventFiltersOutputReference ¶
type GoogleCloudfunctions2FunctionEventTriggerEventFiltersOutputReference 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 NewGoogleCloudfunctions2FunctionEventTriggerEventFiltersOutputReference ¶
func NewGoogleCloudfunctions2FunctionEventTriggerEventFiltersOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) GoogleCloudfunctions2FunctionEventTriggerEventFiltersOutputReference
type GoogleCloudfunctions2FunctionEventTriggerOutputReference ¶
type GoogleCloudfunctions2FunctionEventTriggerOutputReference 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() GoogleCloudfunctions2FunctionEventTriggerEventFiltersList
EventFiltersInput() interface{}
EventType() *string
SetEventType(val *string)
EventTypeInput() *string
// Experimental.
Fqn() *string
InternalValue() *GoogleCloudfunctions2FunctionEventTrigger
SetInternalValue(val *GoogleCloudfunctions2FunctionEventTrigger)
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()
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 NewGoogleCloudfunctions2FunctionEventTriggerOutputReference ¶
func NewGoogleCloudfunctions2FunctionEventTriggerOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) GoogleCloudfunctions2FunctionEventTriggerOutputReference
type GoogleCloudfunctions2FunctionServiceConfig ¶
type GoogleCloudfunctions2FunctionServiceConfig struct {
// Whether 100% of traffic is routed to the latest revision.
//
// Defaults to true. When false, GCF honors the existing traffic configuration of the underlying Cloud Run service. If that configuration is set to route to LATEST (the default), the new deployment will become LATEST and intercept the traffic. To prevent traffic from shifting, you must manually pin the existing service to a specific revision name in Cloud Run before deploying.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/7.32.0/docs/resources/google_cloudfunctions2_function#all_traffic_on_latest_revision GoogleCloudfunctions2Function#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-beta/7.32.0/docs/resources/google_cloudfunctions2_function#available_cpu GoogleCloudfunctions2Function#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-beta/7.32.0/docs/resources/google_cloudfunctions2_function#available_memory GoogleCloudfunctions2Function#available_memory}
AvailableMemory *string `field:"optional" json:"availableMemory" yaml:"availableMemory"`
// 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-beta/7.32.0/docs/resources/google_cloudfunctions2_function#binary_authorization_policy GoogleCloudfunctions2Function#binary_authorization_policy}
BinaryAuthorizationPolicy *string `field:"optional" json:"binaryAuthorizationPolicy" yaml:"binaryAuthorizationPolicy"`
// Egress settings for direct VPC. If not provided, it defaults to VPC_EGRESS_PRIVATE_RANGES_ONLY. Possible values: ["VPC_EGRESS_ALL_TRAFFIC", "VPC_EGRESS_PRIVATE_RANGES_ONLY"].
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/7.32.0/docs/resources/google_cloudfunctions2_function#direct_vpc_egress GoogleCloudfunctions2Function#direct_vpc_egress}
DirectVpcEgress *string `field:"optional" json:"directVpcEgress" yaml:"directVpcEgress"`
// direct_vpc_network_interface block.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/7.32.0/docs/resources/google_cloudfunctions2_function#direct_vpc_network_interface GoogleCloudfunctions2Function#direct_vpc_network_interface}
DirectVpcNetworkInterface interface{} `field:"optional" json:"directVpcNetworkInterface" yaml:"directVpcNetworkInterface"`
// Environment variables that shall be available during function execution.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/7.32.0/docs/resources/google_cloudfunctions2_function#environment_variables GoogleCloudfunctions2Function#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-beta/7.32.0/docs/resources/google_cloudfunctions2_function#ingress_settings GoogleCloudfunctions2Function#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-beta/7.32.0/docs/resources/google_cloudfunctions2_function#max_instance_count GoogleCloudfunctions2Function#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-beta/7.32.0/docs/resources/google_cloudfunctions2_function#max_instance_request_concurrency GoogleCloudfunctions2Function#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-beta/7.32.0/docs/resources/google_cloudfunctions2_function#min_instance_count GoogleCloudfunctions2Function#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-beta/7.32.0/docs/resources/google_cloudfunctions2_function#secret_environment_variables GoogleCloudfunctions2Function#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-beta/7.32.0/docs/resources/google_cloudfunctions2_function#secret_volumes GoogleCloudfunctions2Function#secret_volumes}
SecretVolumes interface{} `field:"optional" json:"secretVolumes" yaml:"secretVolumes"`
// The email of the service account for this function.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/7.32.0/docs/resources/google_cloudfunctions2_function#service_account_email GoogleCloudfunctions2Function#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-beta/7.32.0/docs/resources/google_cloudfunctions2_function#timeout_seconds GoogleCloudfunctions2Function#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-beta/7.32.0/docs/resources/google_cloudfunctions2_function#vpc_connector GoogleCloudfunctions2Function#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-beta/7.32.0/docs/resources/google_cloudfunctions2_function#vpc_connector_egress_settings GoogleCloudfunctions2Function#vpc_connector_egress_settings}
VpcConnectorEgressSettings *string `field:"optional" json:"vpcConnectorEgressSettings" yaml:"vpcConnectorEgressSettings"`
}
type GoogleCloudfunctions2FunctionServiceConfigDirectVpcNetworkInterface ¶
type GoogleCloudfunctions2FunctionServiceConfigDirectVpcNetworkInterface struct {
// The name of the VPC network to which the function will be connected.
//
// Specify either a VPC network or a subnet, or both. If you specify only a network, the subnet uses the same name as the network.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/7.32.0/docs/resources/google_cloudfunctions2_function#network GoogleCloudfunctions2Function#network}
Network *string `field:"optional" json:"network" yaml:"network"`
// The name of the VPC subnetwork that the Cloud Function resource will get IPs from.
//
// Specify either a VPC network or a subnet, or both. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If subnetwork is not specified, the subnetwork with the same name with the network will be used.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/7.32.0/docs/resources/google_cloudfunctions2_function#subnetwork GoogleCloudfunctions2Function#subnetwork}
Subnetwork *string `field:"optional" json:"subnetwork" yaml:"subnetwork"`
// Network tags applied to this Cloud Function resource.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/7.32.0/docs/resources/google_cloudfunctions2_function#tags GoogleCloudfunctions2Function#tags}
Tags *[]*string `field:"optional" json:"tags" yaml:"tags"`
}
type GoogleCloudfunctions2FunctionServiceConfigDirectVpcNetworkInterfaceList ¶
type GoogleCloudfunctions2FunctionServiceConfigDirectVpcNetworkInterfaceList 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) GoogleCloudfunctions2FunctionServiceConfigDirectVpcNetworkInterfaceOutputReference
// 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 NewGoogleCloudfunctions2FunctionServiceConfigDirectVpcNetworkInterfaceList ¶
func NewGoogleCloudfunctions2FunctionServiceConfigDirectVpcNetworkInterfaceList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) GoogleCloudfunctions2FunctionServiceConfigDirectVpcNetworkInterfaceList
type GoogleCloudfunctions2FunctionServiceConfigDirectVpcNetworkInterfaceOutputReference ¶
type GoogleCloudfunctions2FunctionServiceConfigDirectVpcNetworkInterfaceOutputReference 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{})
Network() *string
SetNetwork(val *string)
NetworkInput() *string
Subnetwork() *string
SetSubnetwork(val *string)
SubnetworkInput() *string
Tags() *[]*string
SetTags(val *[]*string)
TagsInput() *[]*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
ResetNetwork()
ResetSubnetwork()
ResetTags()
// 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 NewGoogleCloudfunctions2FunctionServiceConfigDirectVpcNetworkInterfaceOutputReference ¶
func NewGoogleCloudfunctions2FunctionServiceConfigDirectVpcNetworkInterfaceOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) GoogleCloudfunctions2FunctionServiceConfigDirectVpcNetworkInterfaceOutputReference
type GoogleCloudfunctions2FunctionServiceConfigOutputReference ¶
type GoogleCloudfunctions2FunctionServiceConfigOutputReference interface {
cdktf.ComplexObject
AllTrafficOnLatestRevision() interface{}
SetAllTrafficOnLatestRevision(val interface{})
AllTrafficOnLatestRevisionInput() interface{}
AvailableCpu() *string
SetAvailableCpu(val *string)
AvailableCpuInput() *string
AvailableMemory() *string
SetAvailableMemory(val *string)
AvailableMemoryInput() *string
BinaryAuthorizationPolicy() *string
SetBinaryAuthorizationPolicy(val *string)
BinaryAuthorizationPolicyInput() *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
DirectVpcEgress() *string
SetDirectVpcEgress(val *string)
DirectVpcEgressInput() *string
DirectVpcNetworkInterface() GoogleCloudfunctions2FunctionServiceConfigDirectVpcNetworkInterfaceList
DirectVpcNetworkInterfaceInput() interface{}
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() *GoogleCloudfunctions2FunctionServiceConfig
SetInternalValue(val *GoogleCloudfunctions2FunctionServiceConfig)
MaxInstanceCount() *float64
SetMaxInstanceCount(val *float64)
MaxInstanceCountInput() *float64
MaxInstanceRequestConcurrency() *float64
SetMaxInstanceRequestConcurrency(val *float64)
MaxInstanceRequestConcurrencyInput() *float64
MinInstanceCount() *float64
SetMinInstanceCount(val *float64)
MinInstanceCountInput() *float64
SecretEnvironmentVariables() GoogleCloudfunctions2FunctionServiceConfigSecretEnvironmentVariablesList
SecretEnvironmentVariablesInput() interface{}
SecretVolumes() GoogleCloudfunctions2FunctionServiceConfigSecretVolumesList
SecretVolumesInput() interface{}
Service() *string
ServiceAccountEmail() *string
SetServiceAccountEmail(val *string)
ServiceAccountEmailInput() *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
PutDirectVpcNetworkInterface(value interface{})
PutSecretEnvironmentVariables(value interface{})
PutSecretVolumes(value interface{})
ResetAllTrafficOnLatestRevision()
ResetAvailableCpu()
ResetAvailableMemory()
ResetBinaryAuthorizationPolicy()
ResetDirectVpcEgress()
ResetDirectVpcNetworkInterface()
ResetEnvironmentVariables()
ResetIngressSettings()
ResetMaxInstanceCount()
ResetMaxInstanceRequestConcurrency()
ResetMinInstanceCount()
ResetSecretEnvironmentVariables()
ResetSecretVolumes()
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 NewGoogleCloudfunctions2FunctionServiceConfigOutputReference ¶
func NewGoogleCloudfunctions2FunctionServiceConfigOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) GoogleCloudfunctions2FunctionServiceConfigOutputReference
type GoogleCloudfunctions2FunctionServiceConfigSecretEnvironmentVariables ¶
type GoogleCloudfunctions2FunctionServiceConfigSecretEnvironmentVariables struct {
// Name of the environment variable.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/7.32.0/docs/resources/google_cloudfunctions2_function#key GoogleCloudfunctions2Function#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-beta/7.32.0/docs/resources/google_cloudfunctions2_function#project_id GoogleCloudfunctions2Function#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-beta/7.32.0/docs/resources/google_cloudfunctions2_function#secret GoogleCloudfunctions2Function#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-beta/7.32.0/docs/resources/google_cloudfunctions2_function#version GoogleCloudfunctions2Function#version}
Version *string `field:"required" json:"version" yaml:"version"`
}
type GoogleCloudfunctions2FunctionServiceConfigSecretEnvironmentVariablesList ¶
type GoogleCloudfunctions2FunctionServiceConfigSecretEnvironmentVariablesList 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) GoogleCloudfunctions2FunctionServiceConfigSecretEnvironmentVariablesOutputReference
// 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 NewGoogleCloudfunctions2FunctionServiceConfigSecretEnvironmentVariablesList ¶
func NewGoogleCloudfunctions2FunctionServiceConfigSecretEnvironmentVariablesList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) GoogleCloudfunctions2FunctionServiceConfigSecretEnvironmentVariablesList
type GoogleCloudfunctions2FunctionServiceConfigSecretEnvironmentVariablesOutputReference ¶
type GoogleCloudfunctions2FunctionServiceConfigSecretEnvironmentVariablesOutputReference 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 NewGoogleCloudfunctions2FunctionServiceConfigSecretEnvironmentVariablesOutputReference ¶
func NewGoogleCloudfunctions2FunctionServiceConfigSecretEnvironmentVariablesOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) GoogleCloudfunctions2FunctionServiceConfigSecretEnvironmentVariablesOutputReference
type GoogleCloudfunctions2FunctionServiceConfigSecretVolumes ¶
type GoogleCloudfunctions2FunctionServiceConfigSecretVolumes 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-beta/7.32.0/docs/resources/google_cloudfunctions2_function#mount_path GoogleCloudfunctions2Function#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-beta/7.32.0/docs/resources/google_cloudfunctions2_function#project_id GoogleCloudfunctions2Function#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-beta/7.32.0/docs/resources/google_cloudfunctions2_function#secret GoogleCloudfunctions2Function#secret}
Secret *string `field:"required" json:"secret" yaml:"secret"`
// versions block.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/7.32.0/docs/resources/google_cloudfunctions2_function#versions GoogleCloudfunctions2Function#versions}
Versions interface{} `field:"optional" json:"versions" yaml:"versions"`
}
type GoogleCloudfunctions2FunctionServiceConfigSecretVolumesList ¶
type GoogleCloudfunctions2FunctionServiceConfigSecretVolumesList 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) GoogleCloudfunctions2FunctionServiceConfigSecretVolumesOutputReference
// 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 NewGoogleCloudfunctions2FunctionServiceConfigSecretVolumesList ¶
func NewGoogleCloudfunctions2FunctionServiceConfigSecretVolumesList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) GoogleCloudfunctions2FunctionServiceConfigSecretVolumesList
type GoogleCloudfunctions2FunctionServiceConfigSecretVolumesOutputReference ¶
type GoogleCloudfunctions2FunctionServiceConfigSecretVolumesOutputReference 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() GoogleCloudfunctions2FunctionServiceConfigSecretVolumesVersionsList
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 NewGoogleCloudfunctions2FunctionServiceConfigSecretVolumesOutputReference ¶
func NewGoogleCloudfunctions2FunctionServiceConfigSecretVolumesOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) GoogleCloudfunctions2FunctionServiceConfigSecretVolumesOutputReference
type GoogleCloudfunctions2FunctionServiceConfigSecretVolumesVersions ¶
type GoogleCloudfunctions2FunctionServiceConfigSecretVolumesVersions 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-beta/7.32.0/docs/resources/google_cloudfunctions2_function#path GoogleCloudfunctions2Function#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-beta/7.32.0/docs/resources/google_cloudfunctions2_function#version GoogleCloudfunctions2Function#version}
Version *string `field:"required" json:"version" yaml:"version"`
}
type GoogleCloudfunctions2FunctionServiceConfigSecretVolumesVersionsList ¶
type GoogleCloudfunctions2FunctionServiceConfigSecretVolumesVersionsList 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) GoogleCloudfunctions2FunctionServiceConfigSecretVolumesVersionsOutputReference
// 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 NewGoogleCloudfunctions2FunctionServiceConfigSecretVolumesVersionsList ¶
func NewGoogleCloudfunctions2FunctionServiceConfigSecretVolumesVersionsList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) GoogleCloudfunctions2FunctionServiceConfigSecretVolumesVersionsList
type GoogleCloudfunctions2FunctionServiceConfigSecretVolumesVersionsOutputReference ¶
type GoogleCloudfunctions2FunctionServiceConfigSecretVolumesVersionsOutputReference 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 NewGoogleCloudfunctions2FunctionServiceConfigSecretVolumesVersionsOutputReference ¶
func NewGoogleCloudfunctions2FunctionServiceConfigSecretVolumesVersionsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) GoogleCloudfunctions2FunctionServiceConfigSecretVolumesVersionsOutputReference
type GoogleCloudfunctions2FunctionTimeouts ¶
type GoogleCloudfunctions2FunctionTimeouts struct {
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/7.32.0/docs/resources/google_cloudfunctions2_function#create GoogleCloudfunctions2Function#create}.
Create *string `field:"optional" json:"create" yaml:"create"`
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/7.32.0/docs/resources/google_cloudfunctions2_function#delete GoogleCloudfunctions2Function#delete}.
Delete *string `field:"optional" json:"delete" yaml:"delete"`
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/7.32.0/docs/resources/google_cloudfunctions2_function#update GoogleCloudfunctions2Function#update}.
Update *string `field:"optional" json:"update" yaml:"update"`
}
type GoogleCloudfunctions2FunctionTimeoutsOutputReference ¶
type GoogleCloudfunctions2FunctionTimeoutsOutputReference 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 NewGoogleCloudfunctions2FunctionTimeoutsOutputReference ¶
func NewGoogleCloudfunctions2FunctionTimeoutsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) GoogleCloudfunctions2FunctionTimeoutsOutputReference
Source Files
¶
- GoogleCloudfunctions2FunctionBuildConfig.go
- GoogleCloudfunctions2FunctionBuildConfigAutomaticUpdatePolicy.go
- GoogleCloudfunctions2FunctionBuildConfigAutomaticUpdatePolicyOutputReference.go
- GoogleCloudfunctions2FunctionBuildConfigAutomaticUpdatePolicyOutputReference__checks.go
- GoogleCloudfunctions2FunctionBuildConfigOnDeployUpdatePolicy.go
- GoogleCloudfunctions2FunctionBuildConfigOnDeployUpdatePolicyOutputReference.go
- GoogleCloudfunctions2FunctionBuildConfigOnDeployUpdatePolicyOutputReference__checks.go
- GoogleCloudfunctions2FunctionBuildConfigOutputReference.go
- GoogleCloudfunctions2FunctionBuildConfigOutputReference__checks.go
- GoogleCloudfunctions2FunctionBuildConfigSource.go
- GoogleCloudfunctions2FunctionBuildConfigSourceOutputReference.go
- GoogleCloudfunctions2FunctionBuildConfigSourceOutputReference__checks.go
- GoogleCloudfunctions2FunctionBuildConfigSourceRepoSource.go
- GoogleCloudfunctions2FunctionBuildConfigSourceRepoSourceOutputReference.go
- GoogleCloudfunctions2FunctionBuildConfigSourceRepoSourceOutputReference__checks.go
- GoogleCloudfunctions2FunctionBuildConfigSourceStorageSource.go
- GoogleCloudfunctions2FunctionBuildConfigSourceStorageSourceOutputReference.go
- GoogleCloudfunctions2FunctionBuildConfigSourceStorageSourceOutputReference__checks.go
- GoogleCloudfunctions2FunctionConfig.go
- GoogleCloudfunctions2FunctionEventTrigger.go
- GoogleCloudfunctions2FunctionEventTriggerEventFilters.go
- GoogleCloudfunctions2FunctionEventTriggerEventFiltersList.go
- GoogleCloudfunctions2FunctionEventTriggerEventFiltersList__checks.go
- GoogleCloudfunctions2FunctionEventTriggerEventFiltersOutputReference.go
- GoogleCloudfunctions2FunctionEventTriggerEventFiltersOutputReference__checks.go
- GoogleCloudfunctions2FunctionEventTriggerOutputReference.go
- GoogleCloudfunctions2FunctionEventTriggerOutputReference__checks.go
- GoogleCloudfunctions2FunctionServiceConfig.go
- GoogleCloudfunctions2FunctionServiceConfigDirectVpcNetworkInterface.go
- GoogleCloudfunctions2FunctionServiceConfigDirectVpcNetworkInterfaceList.go
- GoogleCloudfunctions2FunctionServiceConfigDirectVpcNetworkInterfaceList__checks.go
- GoogleCloudfunctions2FunctionServiceConfigDirectVpcNetworkInterfaceOutputReference.go
- GoogleCloudfunctions2FunctionServiceConfigDirectVpcNetworkInterfaceOutputReference__checks.go
- GoogleCloudfunctions2FunctionServiceConfigOutputReference.go
- GoogleCloudfunctions2FunctionServiceConfigOutputReference__checks.go
- GoogleCloudfunctions2FunctionServiceConfigSecretEnvironmentVariables.go
- GoogleCloudfunctions2FunctionServiceConfigSecretEnvironmentVariablesList.go
- GoogleCloudfunctions2FunctionServiceConfigSecretEnvironmentVariablesList__checks.go
- GoogleCloudfunctions2FunctionServiceConfigSecretEnvironmentVariablesOutputReference.go
- GoogleCloudfunctions2FunctionServiceConfigSecretEnvironmentVariablesOutputReference__checks.go
- GoogleCloudfunctions2FunctionServiceConfigSecretVolumes.go
- GoogleCloudfunctions2FunctionServiceConfigSecretVolumesList.go
- GoogleCloudfunctions2FunctionServiceConfigSecretVolumesList__checks.go
- GoogleCloudfunctions2FunctionServiceConfigSecretVolumesOutputReference.go
- GoogleCloudfunctions2FunctionServiceConfigSecretVolumesOutputReference__checks.go
- GoogleCloudfunctions2FunctionServiceConfigSecretVolumesVersions.go
- GoogleCloudfunctions2FunctionServiceConfigSecretVolumesVersionsList.go
- GoogleCloudfunctions2FunctionServiceConfigSecretVolumesVersionsList__checks.go
- GoogleCloudfunctions2FunctionServiceConfigSecretVolumesVersionsOutputReference.go
- GoogleCloudfunctions2FunctionServiceConfigSecretVolumesVersionsOutputReference__checks.go
- GoogleCloudfunctions2FunctionTimeouts.go
- GoogleCloudfunctions2FunctionTimeoutsOutputReference.go
- GoogleCloudfunctions2FunctionTimeoutsOutputReference__checks.go
- GoogleCloudfunctions2Function__checks.go
- googlecloudfunctions2function.go
- main.go