Class DataTerraformRemoteStateCosConfig.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
com.hashicorp.cdktf.DataTerraformRemoteStateCosConfig.Jsii$Proxy
All Implemented Interfaces:
CosBackendConfig, DataTerraformRemoteStateConfig, DataTerraformRemoteStateCosConfig, software.amazon.jsii.JsiiSerializable
Enclosing interface:
DataTerraformRemoteStateCosConfig

@Stability(Experimental) @Internal public static final class DataTerraformRemoteStateCosConfig.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements DataTerraformRemoteStateCosConfig
An implementation for DataTerraformRemoteStateCosConfig
  • Constructor Details

    • 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(DataTerraformRemoteStateCosConfig.Builder builder)
      Constructor that initializes the object based on literal property values passed by the DataTerraformRemoteStateCosConfig.Builder.
  • Method Details

    • getDefaults

      public final Map<String,Object> getDefaults()
      Specified by:
      getDefaults in interface DataTerraformRemoteStateConfig
    • getWorkspace

      public final String getWorkspace()
      Specified by:
      getWorkspace in interface DataTerraformRemoteStateConfig
    • getBucket

      public final String getBucket()
      Description copied from interface: CosBackendConfig
      (experimental) (Required) The name of the COS bucket.

      You shall manually create it first.

      Specified by:
      getBucket in interface CosBackendConfig
    • getAccelerate

      public final Boolean getAccelerate()
      Description copied from interface: CosBackendConfig
      (experimental) (Optional) Whether to enable global Acceleration.

      Defaults to false.

      Specified by:
      getAccelerate in interface CosBackendConfig
    • getAcl

      public final String getAcl()
      Description copied from interface: CosBackendConfig
      (experimental) (Optional) Object ACL to be applied to the state file, allows private and public-read.

      Defaults to private.

      Specified by:
      getAcl in interface CosBackendConfig
    • getAssumeRole

      public final CosBackendAssumeRole getAssumeRole()
      Description copied from interface: CosBackendConfig
      (experimental) (Optional) The assume_role block.

      If provided, terraform will attempt to assume this role using the supplied credentials.

      Specified by:
      getAssumeRole in interface CosBackendConfig
    • getDomain

      public final String getDomain()
      Description copied from interface: CosBackendConfig
      (experimental) (Optional) The root domain of the API request.

      Defaults to tencentcloudapi.com. It supports the environment variable TENCENTCLOUD_DOMAIN.

      Specified by:
      getDomain in interface CosBackendConfig
    • getEncrypt

      public final Boolean getEncrypt()
      Description copied from interface: CosBackendConfig
      (experimental) (Optional) Whether to enable server side encryption of the state file.

      If it is true, COS will use 'AES256' encryption algorithm to encrypt state file.

      Specified by:
      getEncrypt in interface CosBackendConfig
    • getEndpoint

      public final String getEndpoint()
      Description copied from interface: CosBackendConfig
      (experimental) (Optional) The Custom Endpoint for the COS backend.

      It supports the environment variable TENCENTCLOUD_ENDPOINT.

      Specified by:
      getEndpoint in interface CosBackendConfig
    • getKey

      public final String getKey()
      Description copied from interface: CosBackendConfig
      (experimental) (Optional) The path for saving the state file in bucket.

      Defaults to terraform.tfstate.

      Specified by:
      getKey in interface CosBackendConfig
    • getPrefix

      public final String getPrefix()
      Description copied from interface: CosBackendConfig
      (experimental) (Optional) The directory for saving the state file in bucket.

      Default to "env:".

      Specified by:
      getPrefix in interface CosBackendConfig
    • getRegion

      public final String getRegion()
      Description copied from interface: CosBackendConfig
      (experimental) (Optional) The region of the COS bucket.

      It supports environment variables TENCENTCLOUD_REGION.

      Specified by:
      getRegion in interface CosBackendConfig
    • getSecretId

      public final String getSecretId()
      Description copied from interface: CosBackendConfig
      (experimental) (Optional) Secret id of Tencent Cloud.

      It supports environment variables TENCENTCLOUD_SECRET_ID.

      Specified by:
      getSecretId in interface CosBackendConfig
    • getSecretKey

      public final String getSecretKey()
      Description copied from interface: CosBackendConfig
      (experimental) (Optional) Secret key of Tencent Cloud.

      It supports environment variables TENCENTCLOUD_SECRET_KEY.

      Specified by:
      getSecretKey in interface CosBackendConfig
    • getSecurityToken

      public final String getSecurityToken()
      Description copied from interface: CosBackendConfig
      (experimental) (Optional) TencentCloud Security Token of temporary access credentials.

      It supports environment variables TENCENTCLOUD_SECURITY_TOKEN.

      Specified by:
      getSecurityToken in interface CosBackendConfig
    • $jsii$toJson

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

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

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