Class CloudfunctionsFunctionConfig.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- com.hashicorp.cdktf.providers.google.cloudfunctions_function.CloudfunctionsFunctionConfig.Jsii$Proxy
-
- All Implemented Interfaces:
CloudfunctionsFunctionConfig,com.hashicorp.cdktf.TerraformMetaArguments,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- CloudfunctionsFunctionConfig
@Stability(Stable) @Internal public static final class CloudfunctionsFunctionConfig.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CloudfunctionsFunctionConfig
An implementation forCloudfunctionsFunctionConfig
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Nested classes/interfaces inherited from interface com.hashicorp.cdktf.providers.google.cloudfunctions_function.CloudfunctionsFunctionConfig
CloudfunctionsFunctionConfig.Builder, CloudfunctionsFunctionConfig.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(CloudfunctionsFunctionConfig.Builder builder)Constructor that initializes the object based on literal property values passed by theCloudfunctionsFunctionConfig.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)Constructor that initializes the object based on values retrieved from the JsiiObject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNode$jsii$toJson()booleanequals(Object o)NumbergetAvailableMemoryMb()Memory (in MB), available to the function.Map<String,String>getBuildEnvironmentVariables()A set of key/value environment variable pairs available during build time.StringgetBuildServiceAccount()The fully-qualified name of the service account to be used for the build step of deploying this function.StringgetBuildWorkerPool()Name of the Cloud Build Custom Worker Pool that should be used to build the function.ObjectgetConnection()ObjectgetCount()List<com.hashicorp.cdktf.ITerraformDependable>getDependsOn()StringgetDescription()Description of the function.StringgetDockerRegistry()Docker Registry to use for storing the function's Docker images.StringgetDockerRepository()User managed repository created in Artifact Registry optionally with a customer managed encryption key.StringgetEntryPoint()Name of the function that will be executed when the Google Cloud Function is triggered.Map<String,String>getEnvironmentVariables()A set of key/value environment variable pairs to assign to the function.CloudfunctionsFunctionEventTriggergetEventTrigger()event_trigger block.com.hashicorp.cdktf.ITerraformIteratorgetForEach()StringgetHttpsTriggerSecurityLevel()The security level for the function.StringgetHttpsTriggerUrl()URL which triggers function execution.StringgetId()Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudfunctions_function#id CloudfunctionsFunction#id}.StringgetIngressSettings()String value that controls what traffic can reach the function.StringgetKmsKeyName()Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt function resources.Map<String,String>getLabels()A set of key/value label pairs to assign to the function.com.hashicorp.cdktf.TerraformResourceLifecyclegetLifecycle()NumbergetMaxInstances()The limit on the maximum number of function instances that may coexist at a given time.NumbergetMinInstances()The limit on the minimum number of function instances that may coexist at a given time.StringgetName()A user-defined name of the function.StringgetProject()Project of the function.com.hashicorp.cdktf.TerraformProvidergetProvider()List<Object>getProvisioners()StringgetRegion()Region of function.StringgetRuntime()The runtime in which the function is going to run.ObjectgetSecretEnvironmentVariables()secret_environment_variables block.ObjectgetSecretVolumes()secret_volumes block.StringgetServiceAccountEmail()If provided, the self-provided service account to run the function with.StringgetSourceArchiveBucket()The GCS bucket containing the zip archive which contains the function.StringgetSourceArchiveObject()The source archive object (file) in archive bucket.CloudfunctionsFunctionSourceRepositorygetSourceRepository()source_repository block.NumbergetTimeout()Timeout (in seconds) for the function.CloudfunctionsFunctionTimeoutsgetTimeouts()timeouts block.ObjectgetTriggerHttp()Boolean variable.StringgetVpcConnector()The VPC Network Connector that this cloud function can connect to.StringgetVpcConnectorEgressSettings()The egress settings for the connector, controlling what traffic is diverted through it.inthashCode()
-
-
-
Constructor Detail
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
protected Jsii$Proxy(CloudfunctionsFunctionConfig.Builder builder)
Constructor that initializes the object based on literal property values passed by theCloudfunctionsFunctionConfig.Builder.
-
-
Method Detail
-
getName
public final String getName()
Description copied from interface:CloudfunctionsFunctionConfigA user-defined name of the function. Function names must be unique globally.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudfunctions_function#name CloudfunctionsFunction#name}
- Specified by:
getNamein interfaceCloudfunctionsFunctionConfig
-
getRuntime
public final String getRuntime()
Description copied from interface:CloudfunctionsFunctionConfigThe 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/5.43.1/docs/resources/cloudfunctions_function#runtime CloudfunctionsFunction#runtime}
- Specified by:
getRuntimein interfaceCloudfunctionsFunctionConfig
-
getAvailableMemoryMb
public final Number getAvailableMemoryMb()
Description copied from interface:CloudfunctionsFunctionConfigMemory (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/5.43.1/docs/resources/cloudfunctions_function#available_memory_mb CloudfunctionsFunction#available_memory_mb}
- Specified by:
getAvailableMemoryMbin interfaceCloudfunctionsFunctionConfig
-
getBuildEnvironmentVariables
public final Map<String,String> getBuildEnvironmentVariables()
Description copied from interface:CloudfunctionsFunctionConfigA set of key/value environment variable pairs available during build time.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudfunctions_function#build_environment_variables CloudfunctionsFunction#build_environment_variables}
- Specified by:
getBuildEnvironmentVariablesin interfaceCloudfunctionsFunctionConfig
-
getBuildServiceAccount
public final String getBuildServiceAccount()
Description copied from interface:CloudfunctionsFunctionConfigThe 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/5.43.1/docs/resources/cloudfunctions_function#build_service_account CloudfunctionsFunction#build_service_account}
- Specified by:
getBuildServiceAccountin interfaceCloudfunctionsFunctionConfig
-
getBuildWorkerPool
public final String getBuildWorkerPool()
Description copied from interface:CloudfunctionsFunctionConfigName 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/5.43.1/docs/resources/cloudfunctions_function#build_worker_pool CloudfunctionsFunction#build_worker_pool}
- Specified by:
getBuildWorkerPoolin interfaceCloudfunctionsFunctionConfig
-
getDescription
public final String getDescription()
Description copied from interface:CloudfunctionsFunctionConfigDescription of the function.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudfunctions_function#description CloudfunctionsFunction#description}
- Specified by:
getDescriptionin interfaceCloudfunctionsFunctionConfig
-
getDockerRegistry
public final String getDockerRegistry()
Description copied from interface:CloudfunctionsFunctionConfigDocker 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/5.43.1/docs/resources/cloudfunctions_function#docker_registry CloudfunctionsFunction#docker_registry}
- Specified by:
getDockerRegistryin interfaceCloudfunctionsFunctionConfig
-
getDockerRepository
public final String getDockerRepository()
Description copied from interface:CloudfunctionsFunctionConfigUser 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/5.43.1/docs/resources/cloudfunctions_function#docker_repository CloudfunctionsFunction#docker_repository}
- Specified by:
getDockerRepositoryin interfaceCloudfunctionsFunctionConfig
-
getEntryPoint
public final String getEntryPoint()
Description copied from interface:CloudfunctionsFunctionConfigName 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/5.43.1/docs/resources/cloudfunctions_function#entry_point CloudfunctionsFunction#entry_point}
- Specified by:
getEntryPointin interfaceCloudfunctionsFunctionConfig
-
getEnvironmentVariables
public final Map<String,String> getEnvironmentVariables()
Description copied from interface:CloudfunctionsFunctionConfigA set of key/value environment variable pairs to assign to the function.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudfunctions_function#environment_variables CloudfunctionsFunction#environment_variables}
- Specified by:
getEnvironmentVariablesin interfaceCloudfunctionsFunctionConfig
-
getEventTrigger
public final CloudfunctionsFunctionEventTrigger getEventTrigger()
Description copied from interface:CloudfunctionsFunctionConfigevent_trigger block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudfunctions_function#event_trigger CloudfunctionsFunction#event_trigger}
- Specified by:
getEventTriggerin interfaceCloudfunctionsFunctionConfig
-
getHttpsTriggerSecurityLevel
public final String getHttpsTriggerSecurityLevel()
Description copied from interface:CloudfunctionsFunctionConfigThe 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/5.43.1/docs/resources/cloudfunctions_function#https_trigger_security_level CloudfunctionsFunction#https_trigger_security_level}
- Specified by:
getHttpsTriggerSecurityLevelin interfaceCloudfunctionsFunctionConfig
-
getHttpsTriggerUrl
public final String getHttpsTriggerUrl()
Description copied from interface:CloudfunctionsFunctionConfigURL which triggers function execution. Returned only if trigger_http is used.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudfunctions_function#https_trigger_url CloudfunctionsFunction#https_trigger_url}
- Specified by:
getHttpsTriggerUrlin interfaceCloudfunctionsFunctionConfig
-
getId
public final String getId()
Description copied from interface:CloudfunctionsFunctionConfigDocs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/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.
- Specified by:
getIdin interfaceCloudfunctionsFunctionConfig
-
getIngressSettings
public final String getIngressSettings()
Description copied from interface:CloudfunctionsFunctionConfigString 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/5.43.1/docs/resources/cloudfunctions_function#ingress_settings CloudfunctionsFunction#ingress_settings}
- Specified by:
getIngressSettingsin interfaceCloudfunctionsFunctionConfig
-
getKmsKeyName
public final String getKmsKeyName()
Description copied from interface:CloudfunctionsFunctionConfigResource 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/5.43.1/docs/resources/cloudfunctions_function#kms_key_name CloudfunctionsFunction#kms_key_name}
- Specified by:
getKmsKeyNamein interfaceCloudfunctionsFunctionConfig
-
getLabels
public final Map<String,String> getLabels()
Description copied from interface:CloudfunctionsFunctionConfigA 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/5.43.1/docs/resources/cloudfunctions_function#labels CloudfunctionsFunction#labels}
- Specified by:
getLabelsin interfaceCloudfunctionsFunctionConfig
-
getMaxInstances
public final Number getMaxInstances()
Description copied from interface:CloudfunctionsFunctionConfigThe 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/5.43.1/docs/resources/cloudfunctions_function#max_instances CloudfunctionsFunction#max_instances}
- Specified by:
getMaxInstancesin interfaceCloudfunctionsFunctionConfig
-
getMinInstances
public final Number getMinInstances()
Description copied from interface:CloudfunctionsFunctionConfigThe 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/5.43.1/docs/resources/cloudfunctions_function#min_instances CloudfunctionsFunction#min_instances}
- Specified by:
getMinInstancesin interfaceCloudfunctionsFunctionConfig
-
getProject
public final String getProject()
Description copied from interface:CloudfunctionsFunctionConfigProject 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/5.43.1/docs/resources/cloudfunctions_function#project CloudfunctionsFunction#project}
- Specified by:
getProjectin interfaceCloudfunctionsFunctionConfig
-
getRegion
public final String getRegion()
Description copied from interface:CloudfunctionsFunctionConfigRegion of function. If it is not provided, the provider region is used.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudfunctions_function#region CloudfunctionsFunction#region}
- Specified by:
getRegionin interfaceCloudfunctionsFunctionConfig
-
getSecretEnvironmentVariables
public final Object getSecretEnvironmentVariables()
Description copied from interface:CloudfunctionsFunctionConfigsecret_environment_variables block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudfunctions_function#secret_environment_variables CloudfunctionsFunction#secret_environment_variables}
- Specified by:
getSecretEnvironmentVariablesin interfaceCloudfunctionsFunctionConfig
-
getSecretVolumes
public final Object getSecretVolumes()
Description copied from interface:CloudfunctionsFunctionConfigsecret_volumes block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudfunctions_function#secret_volumes CloudfunctionsFunction#secret_volumes}
- Specified by:
getSecretVolumesin interfaceCloudfunctionsFunctionConfig
-
getServiceAccountEmail
public final String getServiceAccountEmail()
Description copied from interface:CloudfunctionsFunctionConfigIf provided, the self-provided service account to run the function with.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudfunctions_function#service_account_email CloudfunctionsFunction#service_account_email}
- Specified by:
getServiceAccountEmailin interfaceCloudfunctionsFunctionConfig
-
getSourceArchiveBucket
public final String getSourceArchiveBucket()
Description copied from interface:CloudfunctionsFunctionConfigThe GCS bucket containing the zip archive which contains the function.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudfunctions_function#source_archive_bucket CloudfunctionsFunction#source_archive_bucket}
- Specified by:
getSourceArchiveBucketin interfaceCloudfunctionsFunctionConfig
-
getSourceArchiveObject
public final String getSourceArchiveObject()
Description copied from interface:CloudfunctionsFunctionConfigThe source archive object (file) in archive bucket.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudfunctions_function#source_archive_object CloudfunctionsFunction#source_archive_object}
- Specified by:
getSourceArchiveObjectin interfaceCloudfunctionsFunctionConfig
-
getSourceRepository
public final CloudfunctionsFunctionSourceRepository getSourceRepository()
Description copied from interface:CloudfunctionsFunctionConfigsource_repository block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudfunctions_function#source_repository CloudfunctionsFunction#source_repository}
- Specified by:
getSourceRepositoryin interfaceCloudfunctionsFunctionConfig
-
getTimeout
public final Number getTimeout()
Description copied from interface:CloudfunctionsFunctionConfigTimeout (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/5.43.1/docs/resources/cloudfunctions_function#timeout CloudfunctionsFunction#timeout}
- Specified by:
getTimeoutin interfaceCloudfunctionsFunctionConfig
-
getTimeouts
public final CloudfunctionsFunctionTimeouts getTimeouts()
Description copied from interface:CloudfunctionsFunctionConfigtimeouts block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudfunctions_function#timeouts CloudfunctionsFunction#timeouts}
- Specified by:
getTimeoutsin interfaceCloudfunctionsFunctionConfig
-
getTriggerHttp
public final Object getTriggerHttp()
Description copied from interface:CloudfunctionsFunctionConfigBoolean 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/5.43.1/docs/resources/cloudfunctions_function#trigger_http CloudfunctionsFunction#trigger_http}
- Specified by:
getTriggerHttpin interfaceCloudfunctionsFunctionConfig
-
getVpcConnector
public final String getVpcConnector()
Description copied from interface:CloudfunctionsFunctionConfigThe 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/5.43.1/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.
- Specified by:
getVpcConnectorin interfaceCloudfunctionsFunctionConfig
-
getVpcConnectorEgressSettings
public final String getVpcConnectorEgressSettings()
Description copied from interface:CloudfunctionsFunctionConfigThe 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/5.43.1/docs/resources/cloudfunctions_function#vpc_connector_egress_settings CloudfunctionsFunction#vpc_connector_egress_settings}
- Specified by:
getVpcConnectorEgressSettingsin interfaceCloudfunctionsFunctionConfig
-
getConnection
public final Object getConnection()
- Specified by:
getConnectionin interfacecom.hashicorp.cdktf.TerraformMetaArguments
-
getCount
public final Object getCount()
- Specified by:
getCountin interfacecom.hashicorp.cdktf.TerraformMetaArguments
-
getDependsOn
public final List<com.hashicorp.cdktf.ITerraformDependable> getDependsOn()
- Specified by:
getDependsOnin interfacecom.hashicorp.cdktf.TerraformMetaArguments
-
getForEach
public final com.hashicorp.cdktf.ITerraformIterator getForEach()
- Specified by:
getForEachin interfacecom.hashicorp.cdktf.TerraformMetaArguments
-
getLifecycle
public final com.hashicorp.cdktf.TerraformResourceLifecycle getLifecycle()
- Specified by:
getLifecyclein interfacecom.hashicorp.cdktf.TerraformMetaArguments
-
getProvider
public final com.hashicorp.cdktf.TerraformProvider getProvider()
- Specified by:
getProviderin interfacecom.hashicorp.cdktf.TerraformMetaArguments
-
getProvisioners
public final List<Object> getProvisioners()
- Specified by:
getProvisionersin interfacecom.hashicorp.cdktf.TerraformMetaArguments
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-