Documentation ¶
Index ¶
- func CloudfunctionsFunction_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, ...) cdktf.ImportableResource
- func CloudfunctionsFunction_IsConstruct(x interface{}) *bool
- func CloudfunctionsFunction_IsTerraformElement(x interface{}) *bool
- func CloudfunctionsFunction_IsTerraformResource(x interface{}) *bool
- func CloudfunctionsFunction_TfResourceType() *string
- func NewCloudfunctionsFunctionEventTriggerFailurePolicyOutputReference_Override(c CloudfunctionsFunctionEventTriggerFailurePolicyOutputReference, ...)
- func NewCloudfunctionsFunctionEventTriggerOutputReference_Override(c CloudfunctionsFunctionEventTriggerOutputReference, ...)
- func NewCloudfunctionsFunctionSecretEnvironmentVariablesList_Override(c CloudfunctionsFunctionSecretEnvironmentVariablesList, ...)
- func NewCloudfunctionsFunctionSecretEnvironmentVariablesOutputReference_Override(c CloudfunctionsFunctionSecretEnvironmentVariablesOutputReference, ...)
- func NewCloudfunctionsFunctionSecretVolumesList_Override(c CloudfunctionsFunctionSecretVolumesList, ...)
- func NewCloudfunctionsFunctionSecretVolumesOutputReference_Override(c CloudfunctionsFunctionSecretVolumesOutputReference, ...)
- func NewCloudfunctionsFunctionSecretVolumesVersionsList_Override(c CloudfunctionsFunctionSecretVolumesVersionsList, ...)
- func NewCloudfunctionsFunctionSecretVolumesVersionsOutputReference_Override(c CloudfunctionsFunctionSecretVolumesVersionsOutputReference, ...)
- func NewCloudfunctionsFunctionSourceRepositoryOutputReference_Override(c CloudfunctionsFunctionSourceRepositoryOutputReference, ...)
- func NewCloudfunctionsFunctionTimeoutsOutputReference_Override(c CloudfunctionsFunctionTimeoutsOutputReference, ...)
- func NewCloudfunctionsFunction_Override(c CloudfunctionsFunction, scope constructs.Construct, id *string, ...)
- type CloudfunctionsFunction
- type CloudfunctionsFunctionConfig
- type CloudfunctionsFunctionEventTrigger
- type CloudfunctionsFunctionEventTriggerFailurePolicy
- type CloudfunctionsFunctionEventTriggerFailurePolicyOutputReference
- type CloudfunctionsFunctionEventTriggerOutputReference
- type CloudfunctionsFunctionSecretEnvironmentVariables
- type CloudfunctionsFunctionSecretEnvironmentVariablesList
- type CloudfunctionsFunctionSecretEnvironmentVariablesOutputReference
- type CloudfunctionsFunctionSecretVolumes
- type CloudfunctionsFunctionSecretVolumesList
- type CloudfunctionsFunctionSecretVolumesOutputReference
- type CloudfunctionsFunctionSecretVolumesVersions
- type CloudfunctionsFunctionSecretVolumesVersionsList
- type CloudfunctionsFunctionSecretVolumesVersionsOutputReference
- type CloudfunctionsFunctionSourceRepository
- type CloudfunctionsFunctionSourceRepositoryOutputReference
- type CloudfunctionsFunctionTimeouts
- type CloudfunctionsFunctionTimeoutsOutputReference
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CloudfunctionsFunction_GenerateConfigForImport ¶
func CloudfunctionsFunction_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, provider cdktf.TerraformProvider) cdktf.ImportableResource
Generates CDKTF code for importing a CloudfunctionsFunction resource upon running "cdktf plan <stack-name>".
func CloudfunctionsFunction_IsConstruct ¶
func CloudfunctionsFunction_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 CloudfunctionsFunction_IsTerraformElement ¶
func CloudfunctionsFunction_IsTerraformElement(x interface{}) *bool
Experimental.
func CloudfunctionsFunction_IsTerraformResource ¶
func CloudfunctionsFunction_IsTerraformResource(x interface{}) *bool
Experimental.
func CloudfunctionsFunction_TfResourceType ¶
func CloudfunctionsFunction_TfResourceType() *string
func NewCloudfunctionsFunctionEventTriggerFailurePolicyOutputReference_Override ¶
func NewCloudfunctionsFunctionEventTriggerFailurePolicyOutputReference_Override(c CloudfunctionsFunctionEventTriggerFailurePolicyOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewCloudfunctionsFunctionEventTriggerOutputReference_Override ¶
func NewCloudfunctionsFunctionEventTriggerOutputReference_Override(c CloudfunctionsFunctionEventTriggerOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewCloudfunctionsFunctionSecretEnvironmentVariablesList_Override ¶
func NewCloudfunctionsFunctionSecretEnvironmentVariablesList_Override(c CloudfunctionsFunctionSecretEnvironmentVariablesList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewCloudfunctionsFunctionSecretEnvironmentVariablesOutputReference_Override ¶
func NewCloudfunctionsFunctionSecretEnvironmentVariablesOutputReference_Override(c CloudfunctionsFunctionSecretEnvironmentVariablesOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewCloudfunctionsFunctionSecretVolumesList_Override ¶
func NewCloudfunctionsFunctionSecretVolumesList_Override(c CloudfunctionsFunctionSecretVolumesList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewCloudfunctionsFunctionSecretVolumesOutputReference_Override ¶
func NewCloudfunctionsFunctionSecretVolumesOutputReference_Override(c CloudfunctionsFunctionSecretVolumesOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewCloudfunctionsFunctionSecretVolumesVersionsList_Override ¶
func NewCloudfunctionsFunctionSecretVolumesVersionsList_Override(c CloudfunctionsFunctionSecretVolumesVersionsList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewCloudfunctionsFunctionSecretVolumesVersionsOutputReference_Override ¶
func NewCloudfunctionsFunctionSecretVolumesVersionsOutputReference_Override(c CloudfunctionsFunctionSecretVolumesVersionsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewCloudfunctionsFunctionSourceRepositoryOutputReference_Override ¶
func NewCloudfunctionsFunctionSourceRepositoryOutputReference_Override(c CloudfunctionsFunctionSourceRepositoryOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewCloudfunctionsFunctionTimeoutsOutputReference_Override ¶
func NewCloudfunctionsFunctionTimeoutsOutputReference_Override(c CloudfunctionsFunctionTimeoutsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewCloudfunctionsFunction_Override ¶
func NewCloudfunctionsFunction_Override(c CloudfunctionsFunction, scope constructs.Construct, id *string, config *CloudfunctionsFunctionConfig)
Create a new {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/cloudfunctions_function google_cloudfunctions_function} Resource.
Types ¶
type CloudfunctionsFunction ¶
type CloudfunctionsFunction interface { cdktf.TerraformResource AvailableMemoryMb() *float64 SetAvailableMemoryMb(val *float64) AvailableMemoryMbInput() *float64 BuildEnvironmentVariables() *map[string]*string SetBuildEnvironmentVariables(val *map[string]*string) BuildEnvironmentVariablesInput() *map[string]*string BuildServiceAccount() *string SetBuildServiceAccount(val *string) BuildServiceAccountInput() *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 EffectiveLabels() cdktf.StringMap EntryPoint() *string SetEntryPoint(val *string) EntryPointInput() *string EnvironmentVariables() *map[string]*string SetEnvironmentVariables(val *map[string]*string) EnvironmentVariablesInput() *map[string]*string EventTrigger() CloudfunctionsFunctionEventTriggerOutputReference EventTriggerInput() *CloudfunctionsFunctionEventTrigger // 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() CloudfunctionsFunctionSecretEnvironmentVariablesList SecretEnvironmentVariablesInput() interface{} SecretVolumes() CloudfunctionsFunctionSecretVolumesList SecretVolumesInput() interface{} ServiceAccountEmail() *string SetServiceAccountEmail(val *string) ServiceAccountEmailInput() *string SourceArchiveBucket() *string SetSourceArchiveBucket(val *string) SourceArchiveBucketInput() *string SourceArchiveObject() *string SetSourceArchiveObject(val *string) SourceArchiveObjectInput() *string SourceRepository() CloudfunctionsFunctionSourceRepositoryOutputReference SourceRepositoryInput() *CloudfunctionsFunctionSourceRepository Status() *string // Experimental. TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata TerraformLabels() cdktf.StringMap // Experimental. TerraformMetaArguments() *map[string]interface{} // Experimental. TerraformResourceType() *string Timeout() *float64 SetTimeout(val *float64) TimeoutInput() *float64 Timeouts() CloudfunctionsFunctionTimeoutsOutputReference TimeoutsInput() interface{} TriggerHttp() interface{} SetTriggerHttp(val interface{}) TriggerHttpInput() interface{} VersionId() *string VpcConnector() *string SetVpcConnector(val *string) VpcConnectorEgressSettings() *string SetVpcConnectorEgressSettings(val *string) VpcConnectorEgressSettingsInput() *string VpcConnectorInput() *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) PutEventTrigger(value *CloudfunctionsFunctionEventTrigger) PutSecretEnvironmentVariables(value interface{}) PutSecretVolumes(value interface{}) PutSourceRepository(value *CloudfunctionsFunctionSourceRepository) PutTimeouts(value *CloudfunctionsFunctionTimeouts) ResetAvailableMemoryMb() ResetBuildEnvironmentVariables() ResetBuildServiceAccount() 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{} SynthesizeHclAttributes() *map[string]interface{} // Experimental. ToHclTerraform() interface{} // Experimental. ToMetadata() interface{} // Returns a string representation of this construct. ToString() *string // Adds this resource to the terraform JSON output. // Experimental. ToTerraform() interface{} }
Represents a {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/cloudfunctions_function google_cloudfunctions_function}.
func NewCloudfunctionsFunction ¶
func NewCloudfunctionsFunction(scope constructs.Construct, id *string, config *CloudfunctionsFunctionConfig) CloudfunctionsFunction
Create a new {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/cloudfunctions_function google_cloudfunctions_function} Resource.
type CloudfunctionsFunctionConfig ¶
type CloudfunctionsFunctionConfig 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/6.13.0/docs/resources/cloudfunctions_function#name CloudfunctionsFunction#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/6.13.0/docs/resources/cloudfunctions_function#runtime CloudfunctionsFunction#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/6.13.0/docs/resources/cloudfunctions_function#available_memory_mb CloudfunctionsFunction#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/6.13.0/docs/resources/cloudfunctions_function#build_environment_variables CloudfunctionsFunction#build_environment_variables} BuildEnvironmentVariables *map[string]*string `field:"optional" json:"buildEnvironmentVariables" yaml:"buildEnvironmentVariables"` // The fully-qualified name of the service account to be used for the build step of deploying this function. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/cloudfunctions_function#build_service_account CloudfunctionsFunction#build_service_account} BuildServiceAccount *string `field:"optional" json:"buildServiceAccount" yaml:"buildServiceAccount"` // Name of the Cloud Build Custom Worker Pool that should be used to build the function. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/cloudfunctions_function#build_worker_pool CloudfunctionsFunction#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/6.13.0/docs/resources/cloudfunctions_function#description CloudfunctionsFunction#description} Description *string `field:"optional" json:"description" yaml:"description"` // Docker Registry to use for storing the function's Docker images. Allowed values are ARTIFACT_REGISTRY (default) and CONTAINER_REGISTRY. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/cloudfunctions_function#docker_registry CloudfunctionsFunction#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/6.13.0/docs/resources/cloudfunctions_function#docker_repository CloudfunctionsFunction#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/6.13.0/docs/resources/cloudfunctions_function#entry_point CloudfunctionsFunction#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/6.13.0/docs/resources/cloudfunctions_function#environment_variables CloudfunctionsFunction#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/6.13.0/docs/resources/cloudfunctions_function#event_trigger CloudfunctionsFunction#event_trigger} EventTrigger *CloudfunctionsFunctionEventTrigger `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/6.13.0/docs/resources/cloudfunctions_function#https_trigger_security_level CloudfunctionsFunction#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/6.13.0/docs/resources/cloudfunctions_function#https_trigger_url CloudfunctionsFunction#https_trigger_url} HttpsTriggerUrl *string `field:"optional" json:"httpsTriggerUrl" yaml:"httpsTriggerUrl"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/cloudfunctions_function#id CloudfunctionsFunction#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/6.13.0/docs/resources/cloudfunctions_function#ingress_settings CloudfunctionsFunction#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/6.13.0/docs/resources/cloudfunctions_function#kms_key_name CloudfunctionsFunction#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. // // **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. // Please refer to the field 'effective_labels' for all of the labels present on the resource. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/cloudfunctions_function#labels CloudfunctionsFunction#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/6.13.0/docs/resources/cloudfunctions_function#max_instances CloudfunctionsFunction#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/6.13.0/docs/resources/cloudfunctions_function#min_instances CloudfunctionsFunction#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/6.13.0/docs/resources/cloudfunctions_function#project CloudfunctionsFunction#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/6.13.0/docs/resources/cloudfunctions_function#region CloudfunctionsFunction#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/6.13.0/docs/resources/cloudfunctions_function#secret_environment_variables CloudfunctionsFunction#secret_environment_variables} SecretEnvironmentVariables interface{} `field:"optional" json:"secretEnvironmentVariables" yaml:"secretEnvironmentVariables"` // secret_volumes block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/cloudfunctions_function#secret_volumes CloudfunctionsFunction#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/6.13.0/docs/resources/cloudfunctions_function#service_account_email CloudfunctionsFunction#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/6.13.0/docs/resources/cloudfunctions_function#source_archive_bucket CloudfunctionsFunction#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/6.13.0/docs/resources/cloudfunctions_function#source_archive_object CloudfunctionsFunction#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/6.13.0/docs/resources/cloudfunctions_function#source_repository CloudfunctionsFunction#source_repository} SourceRepository *CloudfunctionsFunctionSourceRepository `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/6.13.0/docs/resources/cloudfunctions_function#timeout CloudfunctionsFunction#timeout} Timeout *float64 `field:"optional" json:"timeout" yaml:"timeout"` // timeouts block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/cloudfunctions_function#timeouts CloudfunctionsFunction#timeouts} Timeouts *CloudfunctionsFunctionTimeouts `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/6.13.0/docs/resources/cloudfunctions_function#trigger_http CloudfunctionsFunction#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/6.13.0/docs/resources/cloudfunctions_function#vpc_connector CloudfunctionsFunction#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/6.13.0/docs/resources/cloudfunctions_function#vpc_connector_egress_settings CloudfunctionsFunction#vpc_connector_egress_settings} VpcConnectorEgressSettings *string `field:"optional" json:"vpcConnectorEgressSettings" yaml:"vpcConnectorEgressSettings"` }
type CloudfunctionsFunctionEventTrigger ¶
type CloudfunctionsFunctionEventTrigger 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/6.13.0/docs/resources/cloudfunctions_function#event_type CloudfunctionsFunction#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/6.13.0/docs/resources/cloudfunctions_function#resource CloudfunctionsFunction#resource} Resource *string `field:"required" json:"resource" yaml:"resource"` // failure_policy block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/cloudfunctions_function#failure_policy CloudfunctionsFunction#failure_policy} FailurePolicy *CloudfunctionsFunctionEventTriggerFailurePolicy `field:"optional" json:"failurePolicy" yaml:"failurePolicy"` }
type CloudfunctionsFunctionEventTriggerFailurePolicy ¶
type CloudfunctionsFunctionEventTriggerFailurePolicy struct { // Whether the function should be retried on failure. Defaults to false. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/cloudfunctions_function#retry CloudfunctionsFunction#retry} Retry interface{} `field:"required" json:"retry" yaml:"retry"` }
type CloudfunctionsFunctionEventTriggerFailurePolicyOutputReference ¶
type CloudfunctionsFunctionEventTriggerFailurePolicyOutputReference 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() *CloudfunctionsFunctionEventTriggerFailurePolicy SetInternalValue(val *CloudfunctionsFunctionEventTriggerFailurePolicy) 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 NewCloudfunctionsFunctionEventTriggerFailurePolicyOutputReference ¶
func NewCloudfunctionsFunctionEventTriggerFailurePolicyOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) CloudfunctionsFunctionEventTriggerFailurePolicyOutputReference
type CloudfunctionsFunctionEventTriggerOutputReference ¶
type CloudfunctionsFunctionEventTriggerOutputReference 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() CloudfunctionsFunctionEventTriggerFailurePolicyOutputReference FailurePolicyInput() *CloudfunctionsFunctionEventTriggerFailurePolicy // Experimental. Fqn() *string InternalValue() *CloudfunctionsFunctionEventTrigger SetInternalValue(val *CloudfunctionsFunctionEventTrigger) 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 *CloudfunctionsFunctionEventTriggerFailurePolicy) 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 NewCloudfunctionsFunctionEventTriggerOutputReference ¶
func NewCloudfunctionsFunctionEventTriggerOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) CloudfunctionsFunctionEventTriggerOutputReference
type CloudfunctionsFunctionSecretEnvironmentVariables ¶
type CloudfunctionsFunctionSecretEnvironmentVariables struct { // Name of the environment variable. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/cloudfunctions_function#key CloudfunctionsFunction#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/6.13.0/docs/resources/cloudfunctions_function#secret CloudfunctionsFunction#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/6.13.0/docs/resources/cloudfunctions_function#version CloudfunctionsFunction#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/6.13.0/docs/resources/cloudfunctions_function#project_id CloudfunctionsFunction#project_id} ProjectId *string `field:"optional" json:"projectId" yaml:"projectId"` }
type CloudfunctionsFunctionSecretEnvironmentVariablesList ¶
type CloudfunctionsFunctionSecretEnvironmentVariablesList 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) CloudfunctionsFunctionSecretEnvironmentVariablesOutputReference // 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 NewCloudfunctionsFunctionSecretEnvironmentVariablesList ¶
func NewCloudfunctionsFunctionSecretEnvironmentVariablesList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) CloudfunctionsFunctionSecretEnvironmentVariablesList
type CloudfunctionsFunctionSecretEnvironmentVariablesOutputReference ¶
type CloudfunctionsFunctionSecretEnvironmentVariablesOutputReference 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 NewCloudfunctionsFunctionSecretEnvironmentVariablesOutputReference ¶
func NewCloudfunctionsFunctionSecretEnvironmentVariablesOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) CloudfunctionsFunctionSecretEnvironmentVariablesOutputReference
type CloudfunctionsFunctionSecretVolumes ¶
type CloudfunctionsFunctionSecretVolumes 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/6.13.0/docs/resources/cloudfunctions_function#mount_path CloudfunctionsFunction#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/6.13.0/docs/resources/cloudfunctions_function#secret CloudfunctionsFunction#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/6.13.0/docs/resources/cloudfunctions_function#project_id CloudfunctionsFunction#project_id} ProjectId *string `field:"optional" json:"projectId" yaml:"projectId"` // versions block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/cloudfunctions_function#versions CloudfunctionsFunction#versions} Versions interface{} `field:"optional" json:"versions" yaml:"versions"` }
type CloudfunctionsFunctionSecretVolumesList ¶
type CloudfunctionsFunctionSecretVolumesList 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) CloudfunctionsFunctionSecretVolumesOutputReference // 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 NewCloudfunctionsFunctionSecretVolumesList ¶
func NewCloudfunctionsFunctionSecretVolumesList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) CloudfunctionsFunctionSecretVolumesList
type CloudfunctionsFunctionSecretVolumesOutputReference ¶
type CloudfunctionsFunctionSecretVolumesOutputReference 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() CloudfunctionsFunctionSecretVolumesVersionsList 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 NewCloudfunctionsFunctionSecretVolumesOutputReference ¶
func NewCloudfunctionsFunctionSecretVolumesOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) CloudfunctionsFunctionSecretVolumesOutputReference
type CloudfunctionsFunctionSecretVolumesVersions ¶
type CloudfunctionsFunctionSecretVolumesVersions 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/6.13.0/docs/resources/cloudfunctions_function#path CloudfunctionsFunction#path} Path *string `field:"required" json:"path" yaml:"path"` // Version of the secret (version number or the string "latest"). // // It is preferable to use "latest" version with secret volumes as secret value changes are reflected immediately. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/cloudfunctions_function#version CloudfunctionsFunction#version} Version *string `field:"required" json:"version" yaml:"version"` }
type CloudfunctionsFunctionSecretVolumesVersionsList ¶
type CloudfunctionsFunctionSecretVolumesVersionsList 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) CloudfunctionsFunctionSecretVolumesVersionsOutputReference // 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 NewCloudfunctionsFunctionSecretVolumesVersionsList ¶
func NewCloudfunctionsFunctionSecretVolumesVersionsList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) CloudfunctionsFunctionSecretVolumesVersionsList
type CloudfunctionsFunctionSecretVolumesVersionsOutputReference ¶
type CloudfunctionsFunctionSecretVolumesVersionsOutputReference 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 NewCloudfunctionsFunctionSecretVolumesVersionsOutputReference ¶
func NewCloudfunctionsFunctionSecretVolumesVersionsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) CloudfunctionsFunctionSecretVolumesVersionsOutputReference
type CloudfunctionsFunctionSourceRepository ¶
type CloudfunctionsFunctionSourceRepository 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/6.13.0/docs/resources/cloudfunctions_function#url CloudfunctionsFunction#url} Url *string `field:"required" json:"url" yaml:"url"` }
type CloudfunctionsFunctionSourceRepositoryOutputReference ¶
type CloudfunctionsFunctionSourceRepositoryOutputReference 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() *CloudfunctionsFunctionSourceRepository SetInternalValue(val *CloudfunctionsFunctionSourceRepository) // 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 NewCloudfunctionsFunctionSourceRepositoryOutputReference ¶
func NewCloudfunctionsFunctionSourceRepositoryOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) CloudfunctionsFunctionSourceRepositoryOutputReference
type CloudfunctionsFunctionTimeouts ¶
type CloudfunctionsFunctionTimeouts struct { // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/cloudfunctions_function#create CloudfunctionsFunction#create}. Create *string `field:"optional" json:"create" yaml:"create"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/cloudfunctions_function#delete CloudfunctionsFunction#delete}. Delete *string `field:"optional" json:"delete" yaml:"delete"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/cloudfunctions_function#read CloudfunctionsFunction#read}. Read *string `field:"optional" json:"read" yaml:"read"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/cloudfunctions_function#update CloudfunctionsFunction#update}. Update *string `field:"optional" json:"update" yaml:"update"` }
type CloudfunctionsFunctionTimeoutsOutputReference ¶
type CloudfunctionsFunctionTimeoutsOutputReference 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 NewCloudfunctionsFunctionTimeoutsOutputReference ¶
func NewCloudfunctionsFunctionTimeoutsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) CloudfunctionsFunctionTimeoutsOutputReference
Source Files ¶
- CloudfunctionsFunction.go
- CloudfunctionsFunctionConfig.go
- CloudfunctionsFunctionEventTrigger.go
- CloudfunctionsFunctionEventTriggerFailurePolicy.go
- CloudfunctionsFunctionEventTriggerFailurePolicyOutputReference.go
- CloudfunctionsFunctionEventTriggerFailurePolicyOutputReference__checks.go
- CloudfunctionsFunctionEventTriggerOutputReference.go
- CloudfunctionsFunctionEventTriggerOutputReference__checks.go
- CloudfunctionsFunctionSecretEnvironmentVariables.go
- CloudfunctionsFunctionSecretEnvironmentVariablesList.go
- CloudfunctionsFunctionSecretEnvironmentVariablesList__checks.go
- CloudfunctionsFunctionSecretEnvironmentVariablesOutputReference.go
- CloudfunctionsFunctionSecretEnvironmentVariablesOutputReference__checks.go
- CloudfunctionsFunctionSecretVolumes.go
- CloudfunctionsFunctionSecretVolumesList.go
- CloudfunctionsFunctionSecretVolumesList__checks.go
- CloudfunctionsFunctionSecretVolumesOutputReference.go
- CloudfunctionsFunctionSecretVolumesOutputReference__checks.go
- CloudfunctionsFunctionSecretVolumesVersions.go
- CloudfunctionsFunctionSecretVolumesVersionsList.go
- CloudfunctionsFunctionSecretVolumesVersionsList__checks.go
- CloudfunctionsFunctionSecretVolumesVersionsOutputReference.go
- CloudfunctionsFunctionSecretVolumesVersionsOutputReference__checks.go
- CloudfunctionsFunctionSourceRepository.go
- CloudfunctionsFunctionSourceRepositoryOutputReference.go
- CloudfunctionsFunctionSourceRepositoryOutputReference__checks.go
- CloudfunctionsFunctionTimeouts.go
- CloudfunctionsFunctionTimeoutsOutputReference.go
- CloudfunctionsFunctionTimeoutsOutputReference__checks.go
- CloudfunctionsFunction__checks.go
- main.go