@Stability(value=Experimental) public static final class DataTerraformRemoteStateConsul.Builder extends Object implements software.amazon.jsii.Builder<DataTerraformRemoteStateConsul>
DataTerraformRemoteStateConsul
.Modifier and Type | Method and Description |
---|---|
DataTerraformRemoteStateConsul.Builder |
accessToken(String accessToken)
(experimental) (Required) Access token.
|
DataTerraformRemoteStateConsul.Builder |
address(String address)
(experimental) (Optional) DNS name and port of your Consul endpoint specified in the format dnsname:port.
|
DataTerraformRemoteStateConsul |
build() |
DataTerraformRemoteStateConsul.Builder |
caFile(String caFile)
(experimental) (Optional) A path to a PEM-encoded certificate authority used to verify the remote agent's certificate.
|
DataTerraformRemoteStateConsul.Builder |
certFile(String certFile)
(experimental) (Optional) A path to a PEM-encoded certificate provided to the remote agent;
|
static DataTerraformRemoteStateConsul.Builder |
create(software.constructs.Construct scope,
String id) |
DataTerraformRemoteStateConsul.Builder |
datacenter(String datacenter)
(experimental) (Optional) The datacenter to use.
|
DataTerraformRemoteStateConsul.Builder |
defaults(Map<String,? extends Object> defaults) |
DataTerraformRemoteStateConsul.Builder |
gzip(Boolean gzip)
(experimental) (Optional) true to compress the state data using gzip, or false (the default) to leave it uncompressed.
|
DataTerraformRemoteStateConsul.Builder |
httpAuth(String httpAuth)
(experimental) (Optional) HTTP Basic Authentication credentials to be used when communicating with Consul, in the format of either user or user:pass.
|
DataTerraformRemoteStateConsul.Builder |
keyFile(String keyFile)
(experimental) (Optional) A path to a PEM-encoded private key, required if cert_file is specified.
|
DataTerraformRemoteStateConsul.Builder |
lock(Boolean lock)
(experimental) (Optional) false to disable locking.
|
DataTerraformRemoteStateConsul.Builder |
path(String path)
(experimental) (Required) Path in the Consul KV store.
|
DataTerraformRemoteStateConsul.Builder |
scheme(String scheme)
(experimental) (Optional) Specifies what protocol to use when talking to the given address,either http or https.
|
DataTerraformRemoteStateConsul.Builder |
workspace(String workspace) |
@Stability(value=Experimental) public static DataTerraformRemoteStateConsul.Builder create(software.constructs.Construct scope, String id)
scope
- This parameter is required.id
- This parameter is required.DataTerraformRemoteStateConsul.Builder
.@Stability(value=Experimental) public DataTerraformRemoteStateConsul.Builder defaults(Map<String,? extends Object> defaults)
defaults
- This parameter is required.this
@Stability(value=Experimental) public DataTerraformRemoteStateConsul.Builder workspace(String workspace)
workspace
- This parameter is required.this
@Stability(value=Experimental) public DataTerraformRemoteStateConsul.Builder accessToken(String accessToken)
accessToken
- (Required) Access token. This parameter is required.this
@Stability(value=Experimental) public DataTerraformRemoteStateConsul.Builder path(String path)
path
- (Required) Path in the Consul KV store. This parameter is required.this
@Stability(value=Experimental) public DataTerraformRemoteStateConsul.Builder address(String address)
Defaults to the local agent HTTP listener.
address
- (Optional) DNS name and port of your Consul endpoint specified in the format dnsname:port. This parameter is required.this
@Stability(value=Experimental) public DataTerraformRemoteStateConsul.Builder caFile(String caFile)
caFile
- (Optional) A path to a PEM-encoded certificate authority used to verify the remote agent's certificate. This parameter is required.this
@Stability(value=Experimental) public DataTerraformRemoteStateConsul.Builder certFile(String certFile)
requires use of key_file.
certFile
- (Optional) A path to a PEM-encoded certificate provided to the remote agent;. This parameter is required.this
@Stability(value=Experimental) public DataTerraformRemoteStateConsul.Builder datacenter(String datacenter)
Defaults to that of the agent.
datacenter
- (Optional) The datacenter to use. This parameter is required.this
@Stability(value=Experimental) public DataTerraformRemoteStateConsul.Builder gzip(Boolean gzip)
gzip
- (Optional) true to compress the state data using gzip, or false (the default) to leave it uncompressed. This parameter is required.this
@Stability(value=Experimental) public DataTerraformRemoteStateConsul.Builder httpAuth(String httpAuth)
httpAuth
- (Optional) HTTP Basic Authentication credentials to be used when communicating with Consul, in the format of either user or user:pass. This parameter is required.this
@Stability(value=Experimental) public DataTerraformRemoteStateConsul.Builder keyFile(String keyFile)
keyFile
- (Optional) A path to a PEM-encoded private key, required if cert_file is specified. This parameter is required.this
@Stability(value=Experimental) public DataTerraformRemoteStateConsul.Builder lock(Boolean lock)
This defaults to true, but will require session permissions with Consul and at least kv write permissions on $path/.lock to perform locking.
lock
- (Optional) false to disable locking. This parameter is required.this
@Stability(value=Experimental) public DataTerraformRemoteStateConsul.Builder scheme(String scheme)
SSL support can also be triggered by setting then environment variable CONSUL_HTTP_SSL to true.
scheme
- (Optional) Specifies what protocol to use when talking to the given address,either http or https. This parameter is required.this
@Stability(value=Experimental) public DataTerraformRemoteStateConsul build()
build
in interface software.amazon.jsii.Builder<DataTerraformRemoteStateConsul>
Copyright © 2022. All rights reserved.