Documentation ¶
Index ¶
- func GoogleCloudfunctionsFunction_IsConstruct(x interface{}) *bool
- func GoogleCloudfunctionsFunction_IsTerraformElement(x interface{}) *bool
- func GoogleCloudfunctionsFunction_IsTerraformResource(x interface{}) *bool
- func GoogleCloudfunctionsFunction_TfResourceType() *string
- func NewGoogleCloudfunctionsFunctionEventTriggerFailurePolicyOutputReference_Override(g GoogleCloudfunctionsFunctionEventTriggerFailurePolicyOutputReference, ...)
- func NewGoogleCloudfunctionsFunctionEventTriggerOutputReference_Override(g GoogleCloudfunctionsFunctionEventTriggerOutputReference, ...)
- func NewGoogleCloudfunctionsFunctionSecretEnvironmentVariablesList_Override(g GoogleCloudfunctionsFunctionSecretEnvironmentVariablesList, ...)
- func NewGoogleCloudfunctionsFunctionSecretEnvironmentVariablesOutputReference_Override(g GoogleCloudfunctionsFunctionSecretEnvironmentVariablesOutputReference, ...)
- func NewGoogleCloudfunctionsFunctionSecretVolumesList_Override(g GoogleCloudfunctionsFunctionSecretVolumesList, ...)
- func NewGoogleCloudfunctionsFunctionSecretVolumesOutputReference_Override(g GoogleCloudfunctionsFunctionSecretVolumesOutputReference, ...)
- func NewGoogleCloudfunctionsFunctionSecretVolumesVersionsList_Override(g GoogleCloudfunctionsFunctionSecretVolumesVersionsList, ...)
- func NewGoogleCloudfunctionsFunctionSecretVolumesVersionsOutputReference_Override(g GoogleCloudfunctionsFunctionSecretVolumesVersionsOutputReference, ...)
- func NewGoogleCloudfunctionsFunctionSourceRepositoryOutputReference_Override(g GoogleCloudfunctionsFunctionSourceRepositoryOutputReference, ...)
- func NewGoogleCloudfunctionsFunctionTimeoutsOutputReference_Override(g GoogleCloudfunctionsFunctionTimeoutsOutputReference, ...)
- func NewGoogleCloudfunctionsFunction_Override(g GoogleCloudfunctionsFunction, scope constructs.Construct, id *string, ...)
- type GoogleCloudfunctionsFunction
- type GoogleCloudfunctionsFunctionConfig
- type GoogleCloudfunctionsFunctionEventTrigger
- type GoogleCloudfunctionsFunctionEventTriggerFailurePolicy
- type GoogleCloudfunctionsFunctionEventTriggerFailurePolicyOutputReference
- type GoogleCloudfunctionsFunctionEventTriggerOutputReference
- type GoogleCloudfunctionsFunctionSecretEnvironmentVariables
- type GoogleCloudfunctionsFunctionSecretEnvironmentVariablesList
- type GoogleCloudfunctionsFunctionSecretEnvironmentVariablesOutputReference
- type GoogleCloudfunctionsFunctionSecretVolumes
- type GoogleCloudfunctionsFunctionSecretVolumesList
- type GoogleCloudfunctionsFunctionSecretVolumesOutputReference
- type GoogleCloudfunctionsFunctionSecretVolumesVersions
- type GoogleCloudfunctionsFunctionSecretVolumesVersionsList
- type GoogleCloudfunctionsFunctionSecretVolumesVersionsOutputReference
- type GoogleCloudfunctionsFunctionSourceRepository
- type GoogleCloudfunctionsFunctionSourceRepositoryOutputReference
- type GoogleCloudfunctionsFunctionTimeouts
- type GoogleCloudfunctionsFunctionTimeoutsOutputReference
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GoogleCloudfunctionsFunction_IsConstruct ¶
func GoogleCloudfunctionsFunction_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 GoogleCloudfunctionsFunction_IsTerraformElement ¶
func GoogleCloudfunctionsFunction_IsTerraformElement(x interface{}) *bool
Experimental.
func GoogleCloudfunctionsFunction_IsTerraformResource ¶
func GoogleCloudfunctionsFunction_IsTerraformResource(x interface{}) *bool
Experimental.
func GoogleCloudfunctionsFunction_TfResourceType ¶
func GoogleCloudfunctionsFunction_TfResourceType() *string
func NewGoogleCloudfunctionsFunctionEventTriggerFailurePolicyOutputReference_Override ¶
func NewGoogleCloudfunctionsFunctionEventTriggerFailurePolicyOutputReference_Override(g GoogleCloudfunctionsFunctionEventTriggerFailurePolicyOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewGoogleCloudfunctionsFunctionEventTriggerOutputReference_Override ¶
func NewGoogleCloudfunctionsFunctionEventTriggerOutputReference_Override(g GoogleCloudfunctionsFunctionEventTriggerOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewGoogleCloudfunctionsFunctionSecretEnvironmentVariablesList_Override ¶
func NewGoogleCloudfunctionsFunctionSecretEnvironmentVariablesList_Override(g GoogleCloudfunctionsFunctionSecretEnvironmentVariablesList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewGoogleCloudfunctionsFunctionSecretEnvironmentVariablesOutputReference_Override ¶
func NewGoogleCloudfunctionsFunctionSecretEnvironmentVariablesOutputReference_Override(g GoogleCloudfunctionsFunctionSecretEnvironmentVariablesOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewGoogleCloudfunctionsFunctionSecretVolumesList_Override ¶
func NewGoogleCloudfunctionsFunctionSecretVolumesList_Override(g GoogleCloudfunctionsFunctionSecretVolumesList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewGoogleCloudfunctionsFunctionSecretVolumesOutputReference_Override ¶
func NewGoogleCloudfunctionsFunctionSecretVolumesOutputReference_Override(g GoogleCloudfunctionsFunctionSecretVolumesOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewGoogleCloudfunctionsFunctionSecretVolumesVersionsList_Override ¶
func NewGoogleCloudfunctionsFunctionSecretVolumesVersionsList_Override(g GoogleCloudfunctionsFunctionSecretVolumesVersionsList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewGoogleCloudfunctionsFunctionSecretVolumesVersionsOutputReference_Override ¶
func NewGoogleCloudfunctionsFunctionSecretVolumesVersionsOutputReference_Override(g GoogleCloudfunctionsFunctionSecretVolumesVersionsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewGoogleCloudfunctionsFunctionSourceRepositoryOutputReference_Override ¶
func NewGoogleCloudfunctionsFunctionSourceRepositoryOutputReference_Override(g GoogleCloudfunctionsFunctionSourceRepositoryOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewGoogleCloudfunctionsFunctionTimeoutsOutputReference_Override ¶
func NewGoogleCloudfunctionsFunctionTimeoutsOutputReference_Override(g GoogleCloudfunctionsFunctionTimeoutsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewGoogleCloudfunctionsFunction_Override ¶
func NewGoogleCloudfunctionsFunction_Override(g GoogleCloudfunctionsFunction, scope constructs.Construct, id *string, config *GoogleCloudfunctionsFunctionConfig)
Create a new {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.84.0/docs/resources/google_cloudfunctions_function google_cloudfunctions_function} Resource.
Types ¶
type GoogleCloudfunctionsFunction ¶
type GoogleCloudfunctionsFunction interface { cdktf.TerraformResource AvailableMemoryMb() *float64 SetAvailableMemoryMb(val *float64) AvailableMemoryMbInput() *float64 BuildEnvironmentVariables() *map[string]*string SetBuildEnvironmentVariables(val *map[string]*string) BuildEnvironmentVariablesInput() *map[string]*string BuildWorkerPool() *string SetBuildWorkerPool(val *string) BuildWorkerPoolInput() *string // 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 DockerRegistry() *string SetDockerRegistry(val *string) DockerRegistryInput() *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 EventTrigger() GoogleCloudfunctionsFunctionEventTriggerOutputReference EventTriggerInput() *GoogleCloudfunctionsFunctionEventTrigger // Experimental. ForEach() cdktf.ITerraformIterator // Experimental. SetForEach(val cdktf.ITerraformIterator) // Experimental. Fqn() *string // Experimental. FriendlyUniqueId() *string HttpsTriggerSecurityLevel() *string SetHttpsTriggerSecurityLevel(val *string) HttpsTriggerSecurityLevelInput() *string HttpsTriggerUrl() *string SetHttpsTriggerUrl(val *string) HttpsTriggerUrlInput() *string Id() *string SetId(val *string) IdInput() *string IngressSettings() *string SetIngressSettings(val *string) IngressSettingsInput() *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) MaxInstances() *float64 SetMaxInstances(val *float64) MaxInstancesInput() *float64 MinInstances() *float64 SetMinInstances(val *float64) MinInstancesInput() *float64 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{} Region() *string SetRegion(val *string) RegionInput() *string Runtime() *string SetRuntime(val *string) RuntimeInput() *string SecretEnvironmentVariables() GoogleCloudfunctionsFunctionSecretEnvironmentVariablesList SecretEnvironmentVariablesInput() interface{} SecretVolumes() GoogleCloudfunctionsFunctionSecretVolumesList SecretVolumesInput() interface{} ServiceAccountEmail() *string SetServiceAccountEmail(val *string) ServiceAccountEmailInput() *string SourceArchiveBucket() *string SetSourceArchiveBucket(val *string) SourceArchiveBucketInput() *string SourceArchiveObject() *string SetSourceArchiveObject(val *string) SourceArchiveObjectInput() *string SourceRepository() GoogleCloudfunctionsFunctionSourceRepositoryOutputReference SourceRepositoryInput() *GoogleCloudfunctionsFunctionSourceRepository Status() *string // Experimental. TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata // Experimental. TerraformMetaArguments() *map[string]interface{} // Experimental. TerraformResourceType() *string Timeout() *float64 SetTimeout(val *float64) TimeoutInput() *float64 Timeouts() GoogleCloudfunctionsFunctionTimeoutsOutputReference TimeoutsInput() interface{} TriggerHttp() interface{} SetTriggerHttp(val interface{}) TriggerHttpInput() interface{} VpcConnector() *string SetVpcConnector(val *string) VpcConnectorEgressSettings() *string SetVpcConnectorEgressSettings(val *string) VpcConnectorEgressSettingsInput() *string VpcConnectorInput() *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. InterpolationForAttribute(terraformAttribute *string) cdktf.IResolvable // Overrides the auto-generated logical ID with a specific ID. // Experimental. OverrideLogicalId(newLogicalId *string) PutEventTrigger(value *GoogleCloudfunctionsFunctionEventTrigger) PutSecretEnvironmentVariables(value interface{}) PutSecretVolumes(value interface{}) PutSourceRepository(value *GoogleCloudfunctionsFunctionSourceRepository) PutTimeouts(value *GoogleCloudfunctionsFunctionTimeouts) ResetAvailableMemoryMb() ResetBuildEnvironmentVariables() ResetBuildWorkerPool() ResetDescription() ResetDockerRegistry() ResetDockerRepository() ResetEntryPoint() ResetEnvironmentVariables() ResetEventTrigger() ResetHttpsTriggerSecurityLevel() ResetHttpsTriggerUrl() ResetId() ResetIngressSettings() ResetKmsKeyName() ResetLabels() ResetMaxInstances() ResetMinInstances() // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() ResetProject() ResetRegion() ResetSecretEnvironmentVariables() ResetSecretVolumes() ResetServiceAccountEmail() ResetSourceArchiveBucket() ResetSourceArchiveObject() ResetSourceRepository() ResetTimeout() ResetTimeouts() ResetTriggerHttp() ResetVpcConnector() ResetVpcConnectorEgressSettings() SynthesizeAttributes() *map[string]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/4.84.0/docs/resources/google_cloudfunctions_function google_cloudfunctions_function}.
func NewGoogleCloudfunctionsFunction ¶
func NewGoogleCloudfunctionsFunction(scope constructs.Construct, id *string, config *GoogleCloudfunctionsFunctionConfig) GoogleCloudfunctionsFunction
Create a new {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.84.0/docs/resources/google_cloudfunctions_function google_cloudfunctions_function} Resource.
type GoogleCloudfunctionsFunctionConfig ¶
type GoogleCloudfunctionsFunctionConfig 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"` // A user-defined name of the function. Function names must be unique globally. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.84.0/docs/resources/google_cloudfunctions_function#name GoogleCloudfunctionsFunction#name} Name *string `field:"required" json:"name" yaml:"name"` // The runtime in which the function is going to run. Eg. "nodejs12", "nodejs14", "python37", "go111". // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.84.0/docs/resources/google_cloudfunctions_function#runtime GoogleCloudfunctionsFunction#runtime} Runtime *string `field:"required" json:"runtime" yaml:"runtime"` // Memory (in MB), available to the function. Default value is 256. Possible values include 128, 256, 512, 1024, etc. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.84.0/docs/resources/google_cloudfunctions_function#available_memory_mb GoogleCloudfunctionsFunction#available_memory_mb} AvailableMemoryMb *float64 `field:"optional" json:"availableMemoryMb" yaml:"availableMemoryMb"` // A set of key/value environment variable pairs available during build time. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.84.0/docs/resources/google_cloudfunctions_function#build_environment_variables GoogleCloudfunctionsFunction#build_environment_variables} BuildEnvironmentVariables *map[string]*string `field:"optional" json:"buildEnvironmentVariables" yaml:"buildEnvironmentVariables"` // 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/4.84.0/docs/resources/google_cloudfunctions_function#build_worker_pool GoogleCloudfunctionsFunction#build_worker_pool} BuildWorkerPool *string `field:"optional" json:"buildWorkerPool" yaml:"buildWorkerPool"` // Description of the function. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.84.0/docs/resources/google_cloudfunctions_function#description GoogleCloudfunctionsFunction#description} Description *string `field:"optional" json:"description" yaml:"description"` // Docker Registry to use for storing the function's Docker images. Allowed values are CONTAINER_REGISTRY (default) and ARTIFACT_REGISTRY. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.84.0/docs/resources/google_cloudfunctions_function#docker_registry GoogleCloudfunctionsFunction#docker_registry} DockerRegistry *string `field:"optional" json:"dockerRegistry" yaml:"dockerRegistry"` // User managed repository created in Artifact Registry optionally with a customer managed encryption key. // // If specified, deployments will use Artifact Registry for storing images built with Cloud Build. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.84.0/docs/resources/google_cloudfunctions_function#docker_repository GoogleCloudfunctionsFunction#docker_repository} DockerRepository *string `field:"optional" json:"dockerRepository" yaml:"dockerRepository"` // Name of the function that will be executed when the Google Cloud Function is triggered. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.84.0/docs/resources/google_cloudfunctions_function#entry_point GoogleCloudfunctionsFunction#entry_point} EntryPoint *string `field:"optional" json:"entryPoint" yaml:"entryPoint"` // A set of key/value environment variable pairs to assign to the function. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.84.0/docs/resources/google_cloudfunctions_function#environment_variables GoogleCloudfunctionsFunction#environment_variables} EnvironmentVariables *map[string]*string `field:"optional" json:"environmentVariables" yaml:"environmentVariables"` // event_trigger block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.84.0/docs/resources/google_cloudfunctions_function#event_trigger GoogleCloudfunctionsFunction#event_trigger} EventTrigger *GoogleCloudfunctionsFunctionEventTrigger `field:"optional" json:"eventTrigger" yaml:"eventTrigger"` // The security level for the function. Defaults to SECURE_OPTIONAL. Valid only if trigger_http is used. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.84.0/docs/resources/google_cloudfunctions_function#https_trigger_security_level GoogleCloudfunctionsFunction#https_trigger_security_level} HttpsTriggerSecurityLevel *string `field:"optional" json:"httpsTriggerSecurityLevel" yaml:"httpsTriggerSecurityLevel"` // URL which triggers function execution. Returned only if trigger_http is used. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.84.0/docs/resources/google_cloudfunctions_function#https_trigger_url GoogleCloudfunctionsFunction#https_trigger_url} HttpsTriggerUrl *string `field:"optional" json:"httpsTriggerUrl" yaml:"httpsTriggerUrl"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.84.0/docs/resources/google_cloudfunctions_function#id GoogleCloudfunctionsFunction#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"` // String value that controls what traffic can reach the function. // // Allowed values are ALLOW_ALL and ALLOW_INTERNAL_ONLY. Changes to this field will recreate the cloud function. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.84.0/docs/resources/google_cloudfunctions_function#ingress_settings GoogleCloudfunctionsFunction#ingress_settings} IngressSettings *string `field:"optional" json:"ingressSettings" yaml:"ingressSettings"` // Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt function resources. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.84.0/docs/resources/google_cloudfunctions_function#kms_key_name GoogleCloudfunctionsFunction#kms_key_name} KmsKeyName *string `field:"optional" json:"kmsKeyName" yaml:"kmsKeyName"` // A set of key/value label pairs to assign to the function. Label keys must follow the requirements at https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.84.0/docs/resources/google_cloudfunctions_function#labels GoogleCloudfunctionsFunction#labels} Labels *map[string]*string `field:"optional" json:"labels" yaml:"labels"` // 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/4.84.0/docs/resources/google_cloudfunctions_function#max_instances GoogleCloudfunctionsFunction#max_instances} MaxInstances *float64 `field:"optional" json:"maxInstances" yaml:"maxInstances"` // 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/4.84.0/docs/resources/google_cloudfunctions_function#min_instances GoogleCloudfunctionsFunction#min_instances} MinInstances *float64 `field:"optional" json:"minInstances" yaml:"minInstances"` // Project of the function. If it is not provided, the provider project is used. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.84.0/docs/resources/google_cloudfunctions_function#project GoogleCloudfunctionsFunction#project} Project *string `field:"optional" json:"project" yaml:"project"` // Region of function. If it is not provided, the provider region is used. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.84.0/docs/resources/google_cloudfunctions_function#region GoogleCloudfunctionsFunction#region} Region *string `field:"optional" json:"region" yaml:"region"` // secret_environment_variables block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.84.0/docs/resources/google_cloudfunctions_function#secret_environment_variables GoogleCloudfunctionsFunction#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/4.84.0/docs/resources/google_cloudfunctions_function#secret_volumes GoogleCloudfunctionsFunction#secret_volumes} SecretVolumes interface{} `field:"optional" json:"secretVolumes" yaml:"secretVolumes"` // If provided, the self-provided service account to run the function with. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.84.0/docs/resources/google_cloudfunctions_function#service_account_email GoogleCloudfunctionsFunction#service_account_email} ServiceAccountEmail *string `field:"optional" json:"serviceAccountEmail" yaml:"serviceAccountEmail"` // The GCS bucket containing the zip archive which contains the function. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.84.0/docs/resources/google_cloudfunctions_function#source_archive_bucket GoogleCloudfunctionsFunction#source_archive_bucket} SourceArchiveBucket *string `field:"optional" json:"sourceArchiveBucket" yaml:"sourceArchiveBucket"` // The source archive object (file) in archive bucket. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.84.0/docs/resources/google_cloudfunctions_function#source_archive_object GoogleCloudfunctionsFunction#source_archive_object} SourceArchiveObject *string `field:"optional" json:"sourceArchiveObject" yaml:"sourceArchiveObject"` // source_repository block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.84.0/docs/resources/google_cloudfunctions_function#source_repository GoogleCloudfunctionsFunction#source_repository} SourceRepository *GoogleCloudfunctionsFunctionSourceRepository `field:"optional" json:"sourceRepository" yaml:"sourceRepository"` // Timeout (in seconds) for the function. Default value is 60 seconds. Cannot be more than 540 seconds. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.84.0/docs/resources/google_cloudfunctions_function#timeout GoogleCloudfunctionsFunction#timeout} Timeout *float64 `field:"optional" json:"timeout" yaml:"timeout"` // timeouts block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.84.0/docs/resources/google_cloudfunctions_function#timeouts GoogleCloudfunctionsFunction#timeouts} Timeouts *GoogleCloudfunctionsFunctionTimeouts `field:"optional" json:"timeouts" yaml:"timeouts"` // Boolean variable. // // Any HTTP request (of a supported type) to the endpoint will trigger function execution. Supported HTTP request types are: POST, PUT, GET, DELETE, and OPTIONS. Endpoint is returned as https_trigger_url. Cannot be used with trigger_bucket and trigger_topic. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.84.0/docs/resources/google_cloudfunctions_function#trigger_http GoogleCloudfunctionsFunction#trigger_http} TriggerHttp interface{} `field:"optional" json:"triggerHttp" yaml:"triggerHttp"` // The VPC Network Connector that this cloud function can connect to. // // It can be either the fully-qualified URI, or the short name of the network connector resource. The format of this field is projects/* /locations/* /connectors/*. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.84.0/docs/resources/google_cloudfunctions_function#vpc_connector GoogleCloudfunctionsFunction#vpc_connector} // // 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. VpcConnector *string `field:"optional" json:"vpcConnector" yaml:"vpcConnector"` // The egress settings for the connector, controlling what traffic is diverted through it. // // Allowed values are ALL_TRAFFIC and PRIVATE_RANGES_ONLY. Defaults to PRIVATE_RANGES_ONLY. If unset, this field preserves the previously set value. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.84.0/docs/resources/google_cloudfunctions_function#vpc_connector_egress_settings GoogleCloudfunctionsFunction#vpc_connector_egress_settings} VpcConnectorEgressSettings *string `field:"optional" json:"vpcConnectorEgressSettings" yaml:"vpcConnectorEgressSettings"` }
type GoogleCloudfunctionsFunctionEventTrigger ¶
type GoogleCloudfunctionsFunctionEventTrigger struct { // The type of event to observe. // // For example: "google.storage.object.finalize". See the documentation on calling Cloud Functions for a full reference of accepted triggers. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.84.0/docs/resources/google_cloudfunctions_function#event_type GoogleCloudfunctionsFunction#event_type} EventType *string `field:"required" json:"eventType" yaml:"eventType"` // The name or partial URI of the resource from which to observe events. For example, "myBucket" or "projects/my-project/topics/my-topic". // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.84.0/docs/resources/google_cloudfunctions_function#resource GoogleCloudfunctionsFunction#resource} Resource *string `field:"required" json:"resource" yaml:"resource"` // failure_policy block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.84.0/docs/resources/google_cloudfunctions_function#failure_policy GoogleCloudfunctionsFunction#failure_policy} FailurePolicy *GoogleCloudfunctionsFunctionEventTriggerFailurePolicy `field:"optional" json:"failurePolicy" yaml:"failurePolicy"` }
type GoogleCloudfunctionsFunctionEventTriggerFailurePolicy ¶
type GoogleCloudfunctionsFunctionEventTriggerFailurePolicy struct { // Whether the function should be retried on failure. Defaults to false. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.84.0/docs/resources/google_cloudfunctions_function#retry GoogleCloudfunctionsFunction#retry} Retry interface{} `field:"required" json:"retry" yaml:"retry"` }
type GoogleCloudfunctionsFunctionEventTriggerFailurePolicyOutputReference ¶
type GoogleCloudfunctionsFunctionEventTriggerFailurePolicyOutputReference 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() *GoogleCloudfunctionsFunctionEventTriggerFailurePolicy SetInternalValue(val *GoogleCloudfunctionsFunctionEventTriggerFailurePolicy) Retry() interface{} SetRetry(val interface{}) RetryInput() interface{} // 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 NewGoogleCloudfunctionsFunctionEventTriggerFailurePolicyOutputReference ¶
func NewGoogleCloudfunctionsFunctionEventTriggerFailurePolicyOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) GoogleCloudfunctionsFunctionEventTriggerFailurePolicyOutputReference
type GoogleCloudfunctionsFunctionEventTriggerOutputReference ¶
type GoogleCloudfunctionsFunctionEventTriggerOutputReference 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 EventType() *string SetEventType(val *string) EventTypeInput() *string FailurePolicy() GoogleCloudfunctionsFunctionEventTriggerFailurePolicyOutputReference FailurePolicyInput() *GoogleCloudfunctionsFunctionEventTriggerFailurePolicy // Experimental. Fqn() *string InternalValue() *GoogleCloudfunctionsFunctionEventTrigger SetInternalValue(val *GoogleCloudfunctionsFunctionEventTrigger) Resource() *string SetResource(val *string) ResourceInput() *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 PutFailurePolicy(value *GoogleCloudfunctionsFunctionEventTriggerFailurePolicy) ResetFailurePolicy() // 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 NewGoogleCloudfunctionsFunctionEventTriggerOutputReference ¶
func NewGoogleCloudfunctionsFunctionEventTriggerOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) GoogleCloudfunctionsFunctionEventTriggerOutputReference
type GoogleCloudfunctionsFunctionSecretEnvironmentVariables ¶
type GoogleCloudfunctionsFunctionSecretEnvironmentVariables struct { // Name of the environment variable. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.84.0/docs/resources/google_cloudfunctions_function#key GoogleCloudfunctionsFunction#key} Key *string `field:"required" json:"key" yaml:"key"` // ID of the secret in secret manager (not the full resource name). // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.84.0/docs/resources/google_cloudfunctions_function#secret GoogleCloudfunctionsFunction#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 clones start. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.84.0/docs/resources/google_cloudfunctions_function#version GoogleCloudfunctionsFunction#version} Version *string `field:"required" json:"version" yaml:"version"` // Project identifier (due to a known limitation, only project number is supported by this field) 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/4.84.0/docs/resources/google_cloudfunctions_function#project_id GoogleCloudfunctionsFunction#project_id} ProjectId *string `field:"optional" json:"projectId" yaml:"projectId"` }
type GoogleCloudfunctionsFunctionSecretEnvironmentVariablesList ¶
type GoogleCloudfunctionsFunctionSecretEnvironmentVariablesList 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) // Experimental. ComputeFqn() *string Get(index *float64) GoogleCloudfunctionsFunctionSecretEnvironmentVariablesOutputReference // 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 NewGoogleCloudfunctionsFunctionSecretEnvironmentVariablesList ¶
func NewGoogleCloudfunctionsFunctionSecretEnvironmentVariablesList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) GoogleCloudfunctionsFunctionSecretEnvironmentVariablesList
type GoogleCloudfunctionsFunctionSecretEnvironmentVariablesOutputReference ¶
type GoogleCloudfunctionsFunctionSecretEnvironmentVariablesOutputReference 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 ResetProjectId() // 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 NewGoogleCloudfunctionsFunctionSecretEnvironmentVariablesOutputReference ¶
func NewGoogleCloudfunctionsFunctionSecretEnvironmentVariablesOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) GoogleCloudfunctionsFunctionSecretEnvironmentVariablesOutputReference
type GoogleCloudfunctionsFunctionSecretVolumes ¶
type GoogleCloudfunctionsFunctionSecretVolumes struct { // The path within the container to mount the secret volume. // // For example, setting the mount_path 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 paths: "/etc/secrets" Restricted mount paths: "/cloudsql", "/dev/log", "/pod", "/proc", "/var/log". // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.84.0/docs/resources/google_cloudfunctions_function#mount_path GoogleCloudfunctionsFunction#mount_path} MountPath *string `field:"required" json:"mountPath" yaml:"mountPath"` // ID of the secret in secret manager (not the full resource name). // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.84.0/docs/resources/google_cloudfunctions_function#secret GoogleCloudfunctionsFunction#secret} Secret *string `field:"required" json:"secret" yaml:"secret"` // Project identifier (due to a known limitation, only project number is supported by this field) 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/4.84.0/docs/resources/google_cloudfunctions_function#project_id GoogleCloudfunctionsFunction#project_id} ProjectId *string `field:"optional" json:"projectId" yaml:"projectId"` // versions block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.84.0/docs/resources/google_cloudfunctions_function#versions GoogleCloudfunctionsFunction#versions} Versions interface{} `field:"optional" json:"versions" yaml:"versions"` }
type GoogleCloudfunctionsFunctionSecretVolumesList ¶
type GoogleCloudfunctionsFunctionSecretVolumesList 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) // Experimental. ComputeFqn() *string Get(index *float64) GoogleCloudfunctionsFunctionSecretVolumesOutputReference // 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 NewGoogleCloudfunctionsFunctionSecretVolumesList ¶
func NewGoogleCloudfunctionsFunctionSecretVolumesList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) GoogleCloudfunctionsFunctionSecretVolumesList
type GoogleCloudfunctionsFunctionSecretVolumesOutputReference ¶
type GoogleCloudfunctionsFunctionSecretVolumesOutputReference 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() GoogleCloudfunctionsFunctionSecretVolumesVersionsList 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{}) ResetProjectId() 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 NewGoogleCloudfunctionsFunctionSecretVolumesOutputReference ¶
func NewGoogleCloudfunctionsFunctionSecretVolumesOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) GoogleCloudfunctionsFunctionSecretVolumesOutputReference
type GoogleCloudfunctionsFunctionSecretVolumesVersions ¶
type GoogleCloudfunctionsFunctionSecretVolumesVersions 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 mount_path 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/4.84.0/docs/resources/google_cloudfunctions_function#path GoogleCloudfunctionsFunction#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/4.84.0/docs/resources/google_cloudfunctions_function#version GoogleCloudfunctionsFunction#version} Version *string `field:"required" json:"version" yaml:"version"` }
type GoogleCloudfunctionsFunctionSecretVolumesVersionsList ¶
type GoogleCloudfunctionsFunctionSecretVolumesVersionsList 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) // Experimental. ComputeFqn() *string Get(index *float64) GoogleCloudfunctionsFunctionSecretVolumesVersionsOutputReference // 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 NewGoogleCloudfunctionsFunctionSecretVolumesVersionsList ¶
func NewGoogleCloudfunctionsFunctionSecretVolumesVersionsList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) GoogleCloudfunctionsFunctionSecretVolumesVersionsList
type GoogleCloudfunctionsFunctionSecretVolumesVersionsOutputReference ¶
type GoogleCloudfunctionsFunctionSecretVolumesVersionsOutputReference 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 NewGoogleCloudfunctionsFunctionSecretVolumesVersionsOutputReference ¶
func NewGoogleCloudfunctionsFunctionSecretVolumesVersionsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) GoogleCloudfunctionsFunctionSecretVolumesVersionsOutputReference
type GoogleCloudfunctionsFunctionSourceRepository ¶
type GoogleCloudfunctionsFunctionSourceRepository struct { // The URL pointing to the hosted repository where the function is defined. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.84.0/docs/resources/google_cloudfunctions_function#url GoogleCloudfunctionsFunction#url} Url *string `field:"required" json:"url" yaml:"url"` }
type GoogleCloudfunctionsFunctionSourceRepositoryOutputReference ¶
type GoogleCloudfunctionsFunctionSourceRepositoryOutputReference 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 DeployedUrl() *string // Experimental. Fqn() *string InternalValue() *GoogleCloudfunctionsFunctionSourceRepository SetInternalValue(val *GoogleCloudfunctionsFunctionSourceRepository) // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Url() *string SetUrl(val *string) UrlInput() *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 NewGoogleCloudfunctionsFunctionSourceRepositoryOutputReference ¶
func NewGoogleCloudfunctionsFunctionSourceRepositoryOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) GoogleCloudfunctionsFunctionSourceRepositoryOutputReference
type GoogleCloudfunctionsFunctionTimeouts ¶
type GoogleCloudfunctionsFunctionTimeouts struct { // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.84.0/docs/resources/google_cloudfunctions_function#create GoogleCloudfunctionsFunction#create}. Create *string `field:"optional" json:"create" yaml:"create"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.84.0/docs/resources/google_cloudfunctions_function#delete GoogleCloudfunctionsFunction#delete}. Delete *string `field:"optional" json:"delete" yaml:"delete"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.84.0/docs/resources/google_cloudfunctions_function#read GoogleCloudfunctionsFunction#read}. Read *string `field:"optional" json:"read" yaml:"read"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.84.0/docs/resources/google_cloudfunctions_function#update GoogleCloudfunctionsFunction#update}. Update *string `field:"optional" json:"update" yaml:"update"` }
type GoogleCloudfunctionsFunctionTimeoutsOutputReference ¶
type GoogleCloudfunctionsFunctionTimeoutsOutputReference 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{}) Read() *string SetRead(val *string) ReadInput() *string // 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() ResetRead() 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 NewGoogleCloudfunctionsFunctionTimeoutsOutputReference ¶
func NewGoogleCloudfunctionsFunctionTimeoutsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) GoogleCloudfunctionsFunctionTimeoutsOutputReference
Source Files ¶
- GoogleCloudfunctionsFunction.go
- GoogleCloudfunctionsFunctionConfig.go
- GoogleCloudfunctionsFunctionEventTrigger.go
- GoogleCloudfunctionsFunctionEventTriggerFailurePolicy.go
- GoogleCloudfunctionsFunctionEventTriggerFailurePolicyOutputReference.go
- GoogleCloudfunctionsFunctionEventTriggerFailurePolicyOutputReference__checks.go
- GoogleCloudfunctionsFunctionEventTriggerOutputReference.go
- GoogleCloudfunctionsFunctionEventTriggerOutputReference__checks.go
- GoogleCloudfunctionsFunctionSecretEnvironmentVariables.go
- GoogleCloudfunctionsFunctionSecretEnvironmentVariablesList.go
- GoogleCloudfunctionsFunctionSecretEnvironmentVariablesList__checks.go
- GoogleCloudfunctionsFunctionSecretEnvironmentVariablesOutputReference.go
- GoogleCloudfunctionsFunctionSecretEnvironmentVariablesOutputReference__checks.go
- GoogleCloudfunctionsFunctionSecretVolumes.go
- GoogleCloudfunctionsFunctionSecretVolumesList.go
- GoogleCloudfunctionsFunctionSecretVolumesList__checks.go
- GoogleCloudfunctionsFunctionSecretVolumesOutputReference.go
- GoogleCloudfunctionsFunctionSecretVolumesOutputReference__checks.go
- GoogleCloudfunctionsFunctionSecretVolumesVersions.go
- GoogleCloudfunctionsFunctionSecretVolumesVersionsList.go
- GoogleCloudfunctionsFunctionSecretVolumesVersionsList__checks.go
- GoogleCloudfunctionsFunctionSecretVolumesVersionsOutputReference.go
- GoogleCloudfunctionsFunctionSecretVolumesVersionsOutputReference__checks.go
- GoogleCloudfunctionsFunctionSourceRepository.go
- GoogleCloudfunctionsFunctionSourceRepositoryOutputReference.go
- GoogleCloudfunctionsFunctionSourceRepositoryOutputReference__checks.go
- GoogleCloudfunctionsFunctionTimeouts.go
- GoogleCloudfunctionsFunctionTimeoutsOutputReference.go
- GoogleCloudfunctionsFunctionTimeoutsOutputReference__checks.go
- GoogleCloudfunctionsFunction__checks.go
- main.go