@Stability(value=Experimental) @Internal public static final class ConsulBackendProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ConsulBackendProps
ConsulBackendProps
software.amazon.jsii.JsiiObject.InitializationMode
ConsulBackendProps.Builder, ConsulBackendProps.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
protected |
Jsii$Proxy(ConsulBackendProps.Builder builder)
Constructor that initializes the object based on literal property values passed by the
ConsulBackendProps.Builder . |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
String |
getAccessToken()
(experimental) (Required) Access token.
|
String |
getAddress()
(experimental) (Optional) DNS name and port of your Consul endpoint specified in the format dnsname:port.
|
String |
getCaFile()
(experimental) (Optional) A path to a PEM-encoded certificate authority used to verify the remote agent's certificate.
|
String |
getCertFile()
(experimental) (Optional) A path to a PEM-encoded certificate provided to the remote agent;
|
String |
getDatacenter()
(experimental) (Optional) The datacenter to use.
|
Boolean |
getGzip()
(experimental) (Optional) true to compress the state data using gzip, or false (the default) to leave it uncompressed.
|
String |
getHttpAuth()
(experimental) (Optional) HTTP Basic Authentication credentials to be used when communicating with Consul, in the format of either user or user:pass.
|
String |
getKeyFile()
(experimental) (Optional) A path to a PEM-encoded private key, required if cert_file is specified.
|
Boolean |
getLock()
(experimental) (Optional) false to disable locking.
|
String |
getPath()
(experimental) (Required) Path in the Consul KV store.
|
String |
getScheme()
(experimental) (Optional) Specifies what protocol to use when talking to the given address,either http or https.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.protected Jsii$Proxy(ConsulBackendProps.Builder builder)
ConsulBackendProps.Builder
.public final String getAccessToken()
ConsulBackendProps
getAccessToken
in interface ConsulBackendProps
public final String getPath()
ConsulBackendProps
getPath
in interface ConsulBackendProps
public final String getAddress()
ConsulBackendProps
Defaults to the local agent HTTP listener.
getAddress
in interface ConsulBackendProps
public final String getCaFile()
ConsulBackendProps
getCaFile
in interface ConsulBackendProps
public final String getCertFile()
ConsulBackendProps
requires use of key_file.
getCertFile
in interface ConsulBackendProps
public final String getDatacenter()
ConsulBackendProps
Defaults to that of the agent.
getDatacenter
in interface ConsulBackendProps
public final Boolean getGzip()
ConsulBackendProps
getGzip
in interface ConsulBackendProps
public final String getHttpAuth()
ConsulBackendProps
getHttpAuth
in interface ConsulBackendProps
public final String getKeyFile()
ConsulBackendProps
getKeyFile
in interface ConsulBackendProps
public final Boolean getLock()
ConsulBackendProps
This defaults to true, but will require session permissions with Consul and at least kv write permissions on $path/.lock to perform locking.
getLock
in interface ConsulBackendProps
public final String getScheme()
ConsulBackendProps
SSL support can also be triggered by setting then environment variable CONSUL_HTTP_SSL to true.
getScheme
in interface ConsulBackendProps
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson
in interface software.amazon.jsii.JsiiSerializable
Copyright © 2022. All rights reserved.