Class CloudfunctionsFunctionConfig.Jsii$Proxy

    • 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.
    • Method Detail

      • getName

        public final String getName()
        Description copied from interface: CloudfunctionsFunctionConfig
        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/5.43.1/docs/resources/cloudfunctions_function#name CloudfunctionsFunction#name}

        Specified by:
        getName in interface CloudfunctionsFunctionConfig
      • getRuntime

        public final String getRuntime()
        Description copied from interface: CloudfunctionsFunctionConfig
        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/5.43.1/docs/resources/cloudfunctions_function#runtime CloudfunctionsFunction#runtime}

        Specified by:
        getRuntime in interface CloudfunctionsFunctionConfig
      • getAvailableMemoryMb

        public final Number getAvailableMemoryMb()
        Description copied from interface: CloudfunctionsFunctionConfig
        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/5.43.1/docs/resources/cloudfunctions_function#available_memory_mb CloudfunctionsFunction#available_memory_mb}

        Specified by:
        getAvailableMemoryMb in interface CloudfunctionsFunctionConfig
      • getBuildEnvironmentVariables

        public final Map<String,​String> getBuildEnvironmentVariables()
        Description copied from interface: CloudfunctionsFunctionConfig
        A 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:
        getBuildEnvironmentVariables in interface CloudfunctionsFunctionConfig
      • getBuildServiceAccount

        public final String getBuildServiceAccount()
        Description copied from interface: CloudfunctionsFunctionConfig
        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/5.43.1/docs/resources/cloudfunctions_function#build_service_account CloudfunctionsFunction#build_service_account}

        Specified by:
        getBuildServiceAccount in interface CloudfunctionsFunctionConfig
      • getBuildWorkerPool

        public final String getBuildWorkerPool()
        Description copied from interface: CloudfunctionsFunctionConfig
        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/5.43.1/docs/resources/cloudfunctions_function#build_worker_pool CloudfunctionsFunction#build_worker_pool}

        Specified by:
        getBuildWorkerPool in interface CloudfunctionsFunctionConfig
      • getDescription

        public final String getDescription()
        Description copied from interface: CloudfunctionsFunctionConfig
        Description 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:
        getDescription in interface CloudfunctionsFunctionConfig
      • getDockerRegistry

        public final String getDockerRegistry()
        Description copied from interface: CloudfunctionsFunctionConfig
        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/5.43.1/docs/resources/cloudfunctions_function#docker_registry CloudfunctionsFunction#docker_registry}

        Specified by:
        getDockerRegistry in interface CloudfunctionsFunctionConfig
      • getDockerRepository

        public final String getDockerRepository()
        Description copied from interface: CloudfunctionsFunctionConfig
        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/5.43.1/docs/resources/cloudfunctions_function#docker_repository CloudfunctionsFunction#docker_repository}

        Specified by:
        getDockerRepository in interface CloudfunctionsFunctionConfig
      • getEntryPoint

        public final String getEntryPoint()
        Description copied from interface: CloudfunctionsFunctionConfig
        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/5.43.1/docs/resources/cloudfunctions_function#entry_point CloudfunctionsFunction#entry_point}

        Specified by:
        getEntryPoint in interface CloudfunctionsFunctionConfig
      • getEnvironmentVariables

        public final Map<String,​String> getEnvironmentVariables()
        Description copied from interface: CloudfunctionsFunctionConfig
        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/5.43.1/docs/resources/cloudfunctions_function#environment_variables CloudfunctionsFunction#environment_variables}

        Specified by:
        getEnvironmentVariables in interface CloudfunctionsFunctionConfig
      • getHttpsTriggerSecurityLevel

        public final String getHttpsTriggerSecurityLevel()
        Description copied from interface: CloudfunctionsFunctionConfig
        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/5.43.1/docs/resources/cloudfunctions_function#https_trigger_security_level CloudfunctionsFunction#https_trigger_security_level}

        Specified by:
        getHttpsTriggerSecurityLevel in interface CloudfunctionsFunctionConfig
      • getHttpsTriggerUrl

        public final String getHttpsTriggerUrl()
        Description copied from interface: CloudfunctionsFunctionConfig
        URL 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:
        getHttpsTriggerUrl in interface CloudfunctionsFunctionConfig
      • getId

        public final String getId()
        Description copied from interface: CloudfunctionsFunctionConfig
        Docs 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:
        getId in interface CloudfunctionsFunctionConfig
      • getIngressSettings

        public final String getIngressSettings()
        Description copied from interface: CloudfunctionsFunctionConfig
        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/5.43.1/docs/resources/cloudfunctions_function#ingress_settings CloudfunctionsFunction#ingress_settings}

        Specified by:
        getIngressSettings in interface CloudfunctionsFunctionConfig
      • getKmsKeyName

        public final String getKmsKeyName()
        Description copied from interface: CloudfunctionsFunctionConfig
        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/5.43.1/docs/resources/cloudfunctions_function#kms_key_name CloudfunctionsFunction#kms_key_name}

        Specified by:
        getKmsKeyName in interface CloudfunctionsFunctionConfig
      • getLabels

        public final Map<String,​String> getLabels()
        Description copied from interface: CloudfunctionsFunctionConfig
        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/5.43.1/docs/resources/cloudfunctions_function#labels CloudfunctionsFunction#labels}

        Specified by:
        getLabels in interface CloudfunctionsFunctionConfig
      • getMaxInstances

        public final Number getMaxInstances()
        Description copied from interface: CloudfunctionsFunctionConfig
        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/5.43.1/docs/resources/cloudfunctions_function#max_instances CloudfunctionsFunction#max_instances}

        Specified by:
        getMaxInstances in interface CloudfunctionsFunctionConfig
      • getMinInstances

        public final Number getMinInstances()
        Description copied from interface: CloudfunctionsFunctionConfig
        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/5.43.1/docs/resources/cloudfunctions_function#min_instances CloudfunctionsFunction#min_instances}

        Specified by:
        getMinInstances in interface CloudfunctionsFunctionConfig
      • getProject

        public final String getProject()
        Description copied from interface: CloudfunctionsFunctionConfig
        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/5.43.1/docs/resources/cloudfunctions_function#project CloudfunctionsFunction#project}

        Specified by:
        getProject in interface CloudfunctionsFunctionConfig
      • getRegion

        public final String getRegion()
        Description copied from interface: CloudfunctionsFunctionConfig
        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/5.43.1/docs/resources/cloudfunctions_function#region CloudfunctionsFunction#region}

        Specified by:
        getRegion in interface CloudfunctionsFunctionConfig
      • getSecretEnvironmentVariables

        public final Object getSecretEnvironmentVariables()
        Description copied from interface: CloudfunctionsFunctionConfig
        secret_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:
        getSecretEnvironmentVariables in interface CloudfunctionsFunctionConfig
      • getSecretVolumes

        public final Object getSecretVolumes()
        Description copied from interface: CloudfunctionsFunctionConfig
        secret_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:
        getSecretVolumes in interface CloudfunctionsFunctionConfig
      • getServiceAccountEmail

        public final String getServiceAccountEmail()
        Description copied from interface: CloudfunctionsFunctionConfig
        If 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:
        getServiceAccountEmail in interface CloudfunctionsFunctionConfig
      • getSourceArchiveBucket

        public final String getSourceArchiveBucket()
        Description copied from interface: CloudfunctionsFunctionConfig
        The 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:
        getSourceArchiveBucket in interface CloudfunctionsFunctionConfig
      • getSourceArchiveObject

        public final String getSourceArchiveObject()
        Description copied from interface: CloudfunctionsFunctionConfig
        The 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:
        getSourceArchiveObject in interface CloudfunctionsFunctionConfig
      • getTimeout

        public final Number getTimeout()
        Description copied from interface: CloudfunctionsFunctionConfig
        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/5.43.1/docs/resources/cloudfunctions_function#timeout CloudfunctionsFunction#timeout}

        Specified by:
        getTimeout in interface CloudfunctionsFunctionConfig
      • getTriggerHttp

        public final Object getTriggerHttp()
        Description copied from interface: CloudfunctionsFunctionConfig
        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/5.43.1/docs/resources/cloudfunctions_function#trigger_http CloudfunctionsFunction#trigger_http}

        Specified by:
        getTriggerHttp in interface CloudfunctionsFunctionConfig
      • getVpcConnector

        public final String getVpcConnector()
        Description copied from interface: CloudfunctionsFunctionConfig
        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/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:
        getVpcConnector in interface CloudfunctionsFunctionConfig
      • getVpcConnectorEgressSettings

        public final String getVpcConnectorEgressSettings()
        Description copied from interface: CloudfunctionsFunctionConfig
        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/5.43.1/docs/resources/cloudfunctions_function#vpc_connector_egress_settings CloudfunctionsFunction#vpc_connector_egress_settings}

        Specified by:
        getVpcConnectorEgressSettings in interface CloudfunctionsFunctionConfig
      • getConnection

        public final Object getConnection()
        Specified by:
        getConnection in interface com.hashicorp.cdktf.TerraformMetaArguments
      • getCount

        public final Object getCount()
        Specified by:
        getCount in interface com.hashicorp.cdktf.TerraformMetaArguments
      • getDependsOn

        public final List<com.hashicorp.cdktf.ITerraformDependable> getDependsOn()
        Specified by:
        getDependsOn in interface com.hashicorp.cdktf.TerraformMetaArguments
      • getForEach

        public final com.hashicorp.cdktf.ITerraformIterator getForEach()
        Specified by:
        getForEach in interface com.hashicorp.cdktf.TerraformMetaArguments
      • getLifecycle

        public final com.hashicorp.cdktf.TerraformResourceLifecycle getLifecycle()
        Specified by:
        getLifecycle in interface com.hashicorp.cdktf.TerraformMetaArguments
      • getProvider

        public final com.hashicorp.cdktf.TerraformProvider getProvider()
        Specified by:
        getProvider in interface com.hashicorp.cdktf.TerraformMetaArguments
      • getProvisioners

        public final List<Object> getProvisioners()
        Specified by:
        getProvisioners in interface com.hashicorp.cdktf.TerraformMetaArguments
      • $jsii$toJson

        @Internal
        public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
        Specified by:
        $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object