Class CloudfunctionsFunction

  • All Implemented Interfaces:
    com.hashicorp.cdktf.IInterpolatingParent, com.hashicorp.cdktf.ITerraformAddressable, com.hashicorp.cdktf.ITerraformDependable, com.hashicorp.cdktf.ITerraformResource, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

    @Generated(value="jsii-pacmak/1.102.0 (build e354887)",
               date="2024-08-31T03:59:18.220Z")
    @Stability(Stable)
    public class CloudfunctionsFunction
    extends com.hashicorp.cdktf.TerraformResource
    Represents a {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudfunctions_function google_cloudfunctions_function}.
    • Field Detail

      • TF_RESOURCE_TYPE

        @Stability(Stable)
        public static final String TF_RESOURCE_TYPE
    • Constructor Detail

      • CloudfunctionsFunction

        protected CloudfunctionsFunction​(software.amazon.jsii.JsiiObjectRef objRef)
      • CloudfunctionsFunction

        protected CloudfunctionsFunction​(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
      • CloudfunctionsFunction

        @Stability(Stable)
        public CloudfunctionsFunction​(@NotNull
                                      software.constructs.Construct scope,
                                      @NotNull
                                      String id,
                                      @NotNull
                                      CloudfunctionsFunctionConfig config)
        Create a new {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudfunctions_function google_cloudfunctions_function} Resource.

        Parameters:
        scope - The scope in which to define this construct. This parameter is required.
        id - The scoped construct ID. This parameter is required.
        config - This parameter is required.
    • Method Detail

      • generateConfigForImport

        @Stability(Stable)
        @NotNull
        public static com.hashicorp.cdktf.ImportableResource generateConfigForImport​(@NotNull
                                                                                     software.constructs.Construct scope,
                                                                                     @NotNull
                                                                                     String importToId,
                                                                                     @NotNull
                                                                                     String importFromId,
                                                                                     @Nullable
                                                                                     com.hashicorp.cdktf.TerraformProvider provider)
        Generates CDKTF code for importing a CloudfunctionsFunction resource upon running "cdktf plan ".

        Parameters:
        scope - The scope in which to define this construct. This parameter is required.
        importToId - The construct id used in the generated config for the CloudfunctionsFunction to import. This parameter is required.
        importFromId - The id of the existing CloudfunctionsFunction that should be imported. This parameter is required.
        provider - ? Optional instance of the provider where the CloudfunctionsFunction to import is found.
      • generateConfigForImport

        @Stability(Stable)
        @NotNull
        public static com.hashicorp.cdktf.ImportableResource generateConfigForImport​(@NotNull
                                                                                     software.constructs.Construct scope,
                                                                                     @NotNull
                                                                                     String importToId,
                                                                                     @NotNull
                                                                                     String importFromId)
        Generates CDKTF code for importing a CloudfunctionsFunction resource upon running "cdktf plan ".

        Parameters:
        scope - The scope in which to define this construct. This parameter is required.
        importToId - The construct id used in the generated config for the CloudfunctionsFunction to import. This parameter is required.
        importFromId - The id of the existing CloudfunctionsFunction that should be imported. This parameter is required.
      • putSecretEnvironmentVariables

        @Stability(Stable)
        public void putSecretEnvironmentVariables​(@NotNull
                                                  Object value)
        Parameters:
        value - This parameter is required.
      • putSecretVolumes

        @Stability(Stable)
        public void putSecretVolumes​(@NotNull
                                     Object value)
        Parameters:
        value - This parameter is required.
      • putTimeouts

        @Stability(Stable)
        public void putTimeouts​(@NotNull
                                CloudfunctionsFunctionTimeouts value)
        Parameters:
        value - This parameter is required.
      • resetAvailableMemoryMb

        @Stability(Stable)
        public void resetAvailableMemoryMb()
      • resetBuildEnvironmentVariables

        @Stability(Stable)
        public void resetBuildEnvironmentVariables()
      • resetBuildServiceAccount

        @Stability(Stable)
        public void resetBuildServiceAccount()
      • resetBuildWorkerPool

        @Stability(Stable)
        public void resetBuildWorkerPool()
      • resetDescription

        @Stability(Stable)
        public void resetDescription()
      • resetDockerRegistry

        @Stability(Stable)
        public void resetDockerRegistry()
      • resetDockerRepository

        @Stability(Stable)
        public void resetDockerRepository()
      • resetEntryPoint

        @Stability(Stable)
        public void resetEntryPoint()
      • resetEnvironmentVariables

        @Stability(Stable)
        public void resetEnvironmentVariables()
      • resetEventTrigger

        @Stability(Stable)
        public void resetEventTrigger()
      • resetHttpsTriggerSecurityLevel

        @Stability(Stable)
        public void resetHttpsTriggerSecurityLevel()
      • resetHttpsTriggerUrl

        @Stability(Stable)
        public void resetHttpsTriggerUrl()
      • resetId

        @Stability(Stable)
        public void resetId()
      • resetIngressSettings

        @Stability(Stable)
        public void resetIngressSettings()
      • resetKmsKeyName

        @Stability(Stable)
        public void resetKmsKeyName()
      • resetLabels

        @Stability(Stable)
        public void resetLabels()
      • resetMaxInstances

        @Stability(Stable)
        public void resetMaxInstances()
      • resetMinInstances

        @Stability(Stable)
        public void resetMinInstances()
      • resetProject

        @Stability(Stable)
        public void resetProject()
      • resetRegion

        @Stability(Stable)
        public void resetRegion()
      • resetSecretEnvironmentVariables

        @Stability(Stable)
        public void resetSecretEnvironmentVariables()
      • resetSecretVolumes

        @Stability(Stable)
        public void resetSecretVolumes()
      • resetServiceAccountEmail

        @Stability(Stable)
        public void resetServiceAccountEmail()
      • resetSourceArchiveBucket

        @Stability(Stable)
        public void resetSourceArchiveBucket()
      • resetSourceArchiveObject

        @Stability(Stable)
        public void resetSourceArchiveObject()
      • resetSourceRepository

        @Stability(Stable)
        public void resetSourceRepository()
      • resetTimeout

        @Stability(Stable)
        public void resetTimeout()
      • resetTimeouts

        @Stability(Stable)
        public void resetTimeouts()
      • resetTriggerHttp

        @Stability(Stable)
        public void resetTriggerHttp()
      • resetVpcConnector

        @Stability(Stable)
        public void resetVpcConnector()
      • resetVpcConnectorEgressSettings

        @Stability(Stable)
        public void resetVpcConnectorEgressSettings()
      • synthesizeAttributes

        @Stability(Stable)
        @NotNull
        protected Map<String,​Object> synthesizeAttributes()
        Overrides:
        synthesizeAttributes in class com.hashicorp.cdktf.TerraformResource
      • synthesizeHclAttributes

        @Stability(Stable)
        @NotNull
        protected Map<String,​Object> synthesizeHclAttributes()
        Overrides:
        synthesizeHclAttributes in class com.hashicorp.cdktf.TerraformResource
      • getEffectiveLabels

        @Stability(Stable)
        @NotNull
        public com.hashicorp.cdktf.StringMap getEffectiveLabels()
      • getStatus

        @Stability(Stable)
        @NotNull
        public String getStatus()
      • getTerraformLabels

        @Stability(Stable)
        @NotNull
        public com.hashicorp.cdktf.StringMap getTerraformLabels()
      • getVersionId

        @Stability(Stable)
        @NotNull
        public String getVersionId()
      • getAvailableMemoryMbInput

        @Stability(Stable)
        @Nullable
        public Number getAvailableMemoryMbInput()
      • getBuildEnvironmentVariablesInput

        @Stability(Stable)
        @Nullable
        public Map<String,​String> getBuildEnvironmentVariablesInput()
      • getBuildServiceAccountInput

        @Stability(Stable)
        @Nullable
        public String getBuildServiceAccountInput()
      • getBuildWorkerPoolInput

        @Stability(Stable)
        @Nullable
        public String getBuildWorkerPoolInput()
      • getDescriptionInput

        @Stability(Stable)
        @Nullable
        public String getDescriptionInput()
      • getDockerRegistryInput

        @Stability(Stable)
        @Nullable
        public String getDockerRegistryInput()
      • getDockerRepositoryInput

        @Stability(Stable)
        @Nullable
        public String getDockerRepositoryInput()
      • getEntryPointInput

        @Stability(Stable)
        @Nullable
        public String getEntryPointInput()
      • getEnvironmentVariablesInput

        @Stability(Stable)
        @Nullable
        public Map<String,​String> getEnvironmentVariablesInput()
      • getHttpsTriggerSecurityLevelInput

        @Stability(Stable)
        @Nullable
        public String getHttpsTriggerSecurityLevelInput()
      • getHttpsTriggerUrlInput

        @Stability(Stable)
        @Nullable
        public String getHttpsTriggerUrlInput()
      • getIdInput

        @Stability(Stable)
        @Nullable
        public String getIdInput()
      • getIngressSettingsInput

        @Stability(Stable)
        @Nullable
        public String getIngressSettingsInput()
      • getKmsKeyNameInput

        @Stability(Stable)
        @Nullable
        public String getKmsKeyNameInput()
      • getLabelsInput

        @Stability(Stable)
        @Nullable
        public Map<String,​String> getLabelsInput()
      • getMaxInstancesInput

        @Stability(Stable)
        @Nullable
        public Number getMaxInstancesInput()
      • getMinInstancesInput

        @Stability(Stable)
        @Nullable
        public Number getMinInstancesInput()
      • getNameInput

        @Stability(Stable)
        @Nullable
        public String getNameInput()
      • getProjectInput

        @Stability(Stable)
        @Nullable
        public String getProjectInput()
      • getRegionInput

        @Stability(Stable)
        @Nullable
        public String getRegionInput()
      • getRuntimeInput

        @Stability(Stable)
        @Nullable
        public String getRuntimeInput()
      • getSecretEnvironmentVariablesInput

        @Stability(Stable)
        @Nullable
        public Object getSecretEnvironmentVariablesInput()
      • getSecretVolumesInput

        @Stability(Stable)
        @Nullable
        public Object getSecretVolumesInput()
      • getServiceAccountEmailInput

        @Stability(Stable)
        @Nullable
        public String getServiceAccountEmailInput()
      • getSourceArchiveBucketInput

        @Stability(Stable)
        @Nullable
        public String getSourceArchiveBucketInput()
      • getSourceArchiveObjectInput

        @Stability(Stable)
        @Nullable
        public String getSourceArchiveObjectInput()
      • getTimeoutInput

        @Stability(Stable)
        @Nullable
        public Number getTimeoutInput()
      • getTimeoutsInput

        @Stability(Stable)
        @Nullable
        public Object getTimeoutsInput()
      • getTriggerHttpInput

        @Stability(Stable)
        @Nullable
        public Object getTriggerHttpInput()
      • getVpcConnectorEgressSettingsInput

        @Stability(Stable)
        @Nullable
        public String getVpcConnectorEgressSettingsInput()
      • getVpcConnectorInput

        @Stability(Stable)
        @Nullable
        public String getVpcConnectorInput()
      • getAvailableMemoryMb

        @Stability(Stable)
        @NotNull
        public Number getAvailableMemoryMb()
      • setAvailableMemoryMb

        @Stability(Stable)
        public void setAvailableMemoryMb​(@NotNull
                                         Number value)
      • getBuildEnvironmentVariables

        @Stability(Stable)
        @NotNull
        public Map<String,​String> getBuildEnvironmentVariables()
      • setBuildEnvironmentVariables

        @Stability(Stable)
        public void setBuildEnvironmentVariables​(@NotNull
                                                 Map<String,​String> value)
      • getBuildServiceAccount

        @Stability(Stable)
        @NotNull
        public String getBuildServiceAccount()
      • setBuildServiceAccount

        @Stability(Stable)
        public void setBuildServiceAccount​(@NotNull
                                           String value)
      • getBuildWorkerPool

        @Stability(Stable)
        @NotNull
        public String getBuildWorkerPool()
      • setBuildWorkerPool

        @Stability(Stable)
        public void setBuildWorkerPool​(@NotNull
                                       String value)
      • getDescription

        @Stability(Stable)
        @NotNull
        public String getDescription()
      • setDescription

        @Stability(Stable)
        public void setDescription​(@NotNull
                                   String value)
      • getDockerRegistry

        @Stability(Stable)
        @NotNull
        public String getDockerRegistry()
      • setDockerRegistry

        @Stability(Stable)
        public void setDockerRegistry​(@NotNull
                                      String value)
      • getDockerRepository

        @Stability(Stable)
        @NotNull
        public String getDockerRepository()
      • setDockerRepository

        @Stability(Stable)
        public void setDockerRepository​(@NotNull
                                        String value)
      • getEntryPoint

        @Stability(Stable)
        @NotNull
        public String getEntryPoint()
      • setEntryPoint

        @Stability(Stable)
        public void setEntryPoint​(@NotNull
                                  String value)
      • getEnvironmentVariables

        @Stability(Stable)
        @NotNull
        public Map<String,​String> getEnvironmentVariables()
      • setEnvironmentVariables

        @Stability(Stable)
        public void setEnvironmentVariables​(@NotNull
                                            Map<String,​String> value)
      • getHttpsTriggerSecurityLevel

        @Stability(Stable)
        @NotNull
        public String getHttpsTriggerSecurityLevel()
      • setHttpsTriggerSecurityLevel

        @Stability(Stable)
        public void setHttpsTriggerSecurityLevel​(@NotNull
                                                 String value)
      • getHttpsTriggerUrl

        @Stability(Stable)
        @NotNull
        public String getHttpsTriggerUrl()
      • setHttpsTriggerUrl

        @Stability(Stable)
        public void setHttpsTriggerUrl​(@NotNull
                                       String value)
      • getId

        @Stability(Stable)
        @NotNull
        public String getId()
      • setId

        @Stability(Stable)
        public void setId​(@NotNull
                          String value)
      • getIngressSettings

        @Stability(Stable)
        @NotNull
        public String getIngressSettings()
      • setIngressSettings

        @Stability(Stable)
        public void setIngressSettings​(@NotNull
                                       String value)
      • getKmsKeyName

        @Stability(Stable)
        @NotNull
        public String getKmsKeyName()
      • setKmsKeyName

        @Stability(Stable)
        public void setKmsKeyName​(@NotNull
                                  String value)
      • getLabels

        @Stability(Stable)
        @NotNull
        public Map<String,​String> getLabels()
      • setLabels

        @Stability(Stable)
        public void setLabels​(@NotNull
                              Map<String,​String> value)
      • getMaxInstances

        @Stability(Stable)
        @NotNull
        public Number getMaxInstances()
      • setMaxInstances

        @Stability(Stable)
        public void setMaxInstances​(@NotNull
                                    Number value)
      • getMinInstances

        @Stability(Stable)
        @NotNull
        public Number getMinInstances()
      • setMinInstances

        @Stability(Stable)
        public void setMinInstances​(@NotNull
                                    Number value)
      • getName

        @Stability(Stable)
        @NotNull
        public String getName()
      • setName

        @Stability(Stable)
        public void setName​(@NotNull
                            String value)
      • getProject

        @Stability(Stable)
        @NotNull
        public String getProject()
      • setProject

        @Stability(Stable)
        public void setProject​(@NotNull
                               String value)
      • getRegion

        @Stability(Stable)
        @NotNull
        public String getRegion()
      • setRegion

        @Stability(Stable)
        public void setRegion​(@NotNull
                              String value)
      • getRuntime

        @Stability(Stable)
        @NotNull
        public String getRuntime()
      • setRuntime

        @Stability(Stable)
        public void setRuntime​(@NotNull
                               String value)
      • getServiceAccountEmail

        @Stability(Stable)
        @NotNull
        public String getServiceAccountEmail()
      • setServiceAccountEmail

        @Stability(Stable)
        public void setServiceAccountEmail​(@NotNull
                                           String value)
      • getSourceArchiveBucket

        @Stability(Stable)
        @NotNull
        public String getSourceArchiveBucket()
      • setSourceArchiveBucket

        @Stability(Stable)
        public void setSourceArchiveBucket​(@NotNull
                                           String value)
      • getSourceArchiveObject

        @Stability(Stable)
        @NotNull
        public String getSourceArchiveObject()
      • setSourceArchiveObject

        @Stability(Stable)
        public void setSourceArchiveObject​(@NotNull
                                           String value)
      • getTimeout

        @Stability(Stable)
        @NotNull
        public Number getTimeout()
      • setTimeout

        @Stability(Stable)
        public void setTimeout​(@NotNull
                               Number value)
      • getTriggerHttp

        @Stability(Stable)
        @NotNull
        public Object getTriggerHttp()
      • setTriggerHttp

        @Stability(Stable)
        public void setTriggerHttp​(@NotNull
                                   Boolean value)
      • setTriggerHttp

        @Stability(Stable)
        public void setTriggerHttp​(@NotNull
                                   com.hashicorp.cdktf.IResolvable value)
      • getVpcConnector

        @Stability(Stable)
        @NotNull
        public String getVpcConnector()
      • setVpcConnector

        @Stability(Stable)
        public void setVpcConnector​(@NotNull
                                    String value)
      • getVpcConnectorEgressSettings

        @Stability(Stable)
        @NotNull
        public String getVpcConnectorEgressSettings()
      • setVpcConnectorEgressSettings

        @Stability(Stable)
        public void setVpcConnectorEgressSettings​(@NotNull
                                                  String value)