Class CosBackendConfig.Jsii$Proxy

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

@Stability(Experimental) @Internal public static final class CosBackendConfig.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CosBackendConfig
An implementation for CosBackendConfig
  • 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.CosBackendConfig

    CosBackendConfig.Builder, CosBackendConfig.Jsii$Proxy
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    Constructor that initializes the object based on literal property values passed by the CosBackendConfig.Builder.
    protected
    Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
    Constructor that initializes the object based on values retrieved from the JsiiObject.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.fasterxml.jackson.databind.JsonNode
     
    final boolean
     
    final Boolean
    (experimental) (Optional) Whether to enable global Acceleration.
    final String
    (experimental) (Optional) Object ACL to be applied to the state file, allows private and public-read.
    (experimental) (Optional) The assume_role block.
    final String
    (experimental) (Required) The name of the COS bucket.
    final String
    (experimental) (Optional) The root domain of the API request.
    final Boolean
    (experimental) (Optional) Whether to enable server side encryption of the state file.
    final String
    (experimental) (Optional) The Custom Endpoint for the COS backend.
    final String
    (experimental) (Optional) The path for saving the state file in bucket.
    final String
    (experimental) (Optional) The directory for saving the state file in bucket.
    final String
    (experimental) (Optional) The region of the COS bucket.
    final String
    (experimental) (Optional) Secret id of Tencent Cloud.
    final String
    (experimental) (Optional) Secret key of Tencent Cloud.
    final String
    (experimental) (Optional) TencentCloud Security Token of temporary access credentials.
    final int
     

    Methods inherited from class software.amazon.jsii.JsiiObject

    jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • 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(CosBackendConfig.Builder builder)
      Constructor that initializes the object based on literal property values passed by the CosBackendConfig.Builder.
  • Method Details

    • 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