Package com.hashicorp.cdktf
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
An implementation for
DataTerraformRemoteStateConsulConfig
-
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.DataTerraformRemoteStateConsulConfig
DataTerraformRemoteStateConsulConfig.Builder, DataTerraformRemoteStateConsulConfig.Jsii$Proxy
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theDataTerraformRemoteStateConsulConfig.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 TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNode
final boolean
final String
(experimental) (Required) Access token.final String
(experimental) (Optional) DNS name and port of your Consul endpoint specified in the format dnsname:port.final String
(experimental) (Optional) A path to a PEM-encoded certificate authority used to verify the remote agent's certificate.final String
(experimental) (Optional) A path to a PEM-encoded certificate provided to the remote agent;final String
(experimental) (Optional) The datacenter to use.final Boolean
getGzip()
(experimental) (Optional) true to compress the state data using gzip, or false (the default) to leave it uncompressed.final String
(experimental) (Optional) HTTP Basic Authentication credentials to be used when communicating with Consul, in the format of either user or user:pass.final String
(experimental) (Optional) A path to a PEM-encoded private key, required if cert_file is specified.final Boolean
getLock()
(experimental) (Optional) false to disable locking.final String
getPath()
(experimental) (Required) Path in the Consul KV store.final String
(experimental) (Optional) Specifies what protocol to use when talking to the given address,either http or https.final String
final int
hashCode()
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
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
Constructor that initializes the object based on literal property values passed by theDataTerraformRemoteStateConsulConfig.Builder
.
-
-
Method Details
-
getDefaults
- Specified by:
getDefaults
in interfaceDataTerraformRemoteStateConfig
-
getWorkspace
- Specified by:
getWorkspace
in interfaceDataTerraformRemoteStateConfig
-
getAccessToken
Description copied from interface:ConsulBackendConfig
(experimental) (Required) Access token.- Specified by:
getAccessToken
in interfaceConsulBackendConfig
-
getPath
Description copied from interface:ConsulBackendConfig
(experimental) (Required) Path in the Consul KV store.- Specified by:
getPath
in interfaceConsulBackendConfig
-
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 interfaceConsulBackendConfig
-
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 interfaceConsulBackendConfig
-
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 interfaceConsulBackendConfig
-
getDatacenter
Description copied from interface:ConsulBackendConfig
(experimental) (Optional) The datacenter to use.Defaults to that of the agent.
- Specified by:
getDatacenter
in interfaceConsulBackendConfig
-
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 interfaceConsulBackendConfig
-
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 interfaceConsulBackendConfig
-
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 interfaceConsulBackendConfig
-
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 interfaceConsulBackendConfig
-
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 interfaceConsulBackendConfig
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-