Class DataTerraformRemoteStateConsulConfig.Jsii$Proxy

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

@Stability(Experimental) @Internal public static final class DataTerraformRemoteStateConsulConfig.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements DataTerraformRemoteStateConsulConfig
  • 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(DataTerraformRemoteStateConsulConfig.Builder builder)
      Constructor that initializes the object based on literal property values passed by the DataTerraformRemoteStateConsulConfig.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
    • getAccessToken

      public final String getAccessToken()
      Description copied from interface: ConsulBackendConfig
      (experimental) (Required) Access token.
      Specified by:
      getAccessToken in interface ConsulBackendConfig
    • getPath

      public final String getPath()
      Description copied from interface: ConsulBackendConfig
      (experimental) (Required) Path in the Consul KV store.
      Specified by:
      getPath in interface ConsulBackendConfig
    • getAddress

      public final String getAddress()
      Description copied from interface: ConsulBackendConfig
      (experimental) (Optional) DNS name and port of your Consul endpoint specified in the format dnsname:port.

      Defaults to the local agent HTTP listener.

      Specified by:
      getAddress in interface ConsulBackendConfig
    • getCaFile

      public final String getCaFile()
      Description copied from interface: ConsulBackendConfig
      (experimental) (Optional) A path to a PEM-encoded certificate authority used to verify the remote agent's certificate.
      Specified by:
      getCaFile in interface ConsulBackendConfig
    • getCertFile

      public final String getCertFile()
      Description copied from interface: ConsulBackendConfig
      (experimental) (Optional) A path to a PEM-encoded certificate provided to the remote agent;

      requires use of key_file.

      Specified by:
      getCertFile in interface ConsulBackendConfig
    • getDatacenter

      public final String getDatacenter()
      Description copied from interface: ConsulBackendConfig
      (experimental) (Optional) The datacenter to use.

      Defaults to that of the agent.

      Specified by:
      getDatacenter in interface ConsulBackendConfig
    • getGzip

      public final Boolean getGzip()
      Description copied from interface: ConsulBackendConfig
      (experimental) (Optional) true to compress the state data using gzip, or false (the default) to leave it uncompressed.
      Specified by:
      getGzip in interface ConsulBackendConfig
    • getHttpAuth

      public final String getHttpAuth()
      Description copied from interface: ConsulBackendConfig
      (experimental) (Optional) HTTP Basic Authentication credentials to be used when communicating with Consul, in the format of either user or user:pass.
      Specified by:
      getHttpAuth in interface ConsulBackendConfig
    • getKeyFile

      public final String getKeyFile()
      Description copied from interface: ConsulBackendConfig
      (experimental) (Optional) A path to a PEM-encoded private key, required if cert_file is specified.
      Specified by:
      getKeyFile in interface ConsulBackendConfig
    • getLock

      public final Boolean getLock()
      Description copied from interface: ConsulBackendConfig
      (experimental) (Optional) false to disable locking.

      This defaults to true, but will require session permissions with Consul and at least kv write permissions on $path/.lock to perform locking.

      Specified by:
      getLock in interface ConsulBackendConfig
    • getScheme

      public final String getScheme()
      Description copied from interface: ConsulBackendConfig
      (experimental) (Optional) Specifies what protocol to use when talking to the given address,either http or https.

      SSL support can also be triggered by setting then environment variable CONSUL_HTTP_SSL to true.

      Specified by:
      getScheme in interface ConsulBackendConfig
    • $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