Documentation Index
Fetch the complete documentation index at: https://cdktn.io/docs/llms.txt
Use this file to discover all available pages before exploring further.
Initializers
import io.cdktn.cdktn.HttpBackend;
HttpBackend.Builder.create(Construct scope)
.address(java.lang.String)
// .clientCaCertificatePem(java.lang.String)
// .clientCertificatePem(java.lang.String)
// .clientPrivateKeyPem(java.lang.String)
// .lockAddress(java.lang.String)
// .lockMethod(java.lang.String)
// .password(java.lang.String)
// .retryMax(java.lang.Number)
// .retryWaitMax(java.lang.Number)
// .retryWaitMin(java.lang.Number)
// .skipCertVerification(java.lang.Boolean)
// .unlockAddress(java.lang.String)
// .unlockMethod(java.lang.String)
// .updateMethod(java.lang.String)
// .username(java.lang.String)
.build();
| Name | Type | Description |
|---|
scope | software.constructs.Construct | No description. |
address | java.lang.String | (Required) The address of the REST endpoint. |
clientCaCertificatePem | java.lang.String | (Optional) A PEM-encoded CA certificate chain used by the client to verify server certificates during TLS authentication. |
clientCertificatePem | java.lang.String | (Optional) A PEM-encoded certificate used by the server to verify the client during mutual TLS (mTLS) authentication. |
clientPrivateKeyPem | java.lang.String | (Optional) A PEM-encoded private key, required if client_certificate_pem is specified. |
lockAddress | java.lang.String | (Optional) The address of the lock REST endpoint. |
lockMethod | java.lang.String | (Optional) The HTTP method to use when locking. |
password | java.lang.String | (Optional) The password for HTTP basic authentication. |
retryMax | java.lang.Number | (Optional) The number of HTTP request retries. |
retryWaitMax | java.lang.Number | (Optional) The maximum time in seconds to wait between HTTP request attempts. |
retryWaitMin | java.lang.Number | (Optional) The minimum time in seconds to wait between HTTP request attempts. |
skipCertVerification | java.lang.Boolean | (Optional) Whether to skip TLS verification. |
unlockAddress | java.lang.String | (Optional) The address of the unlock REST endpoint. |
unlockMethod | java.lang.String | (Optional) The HTTP method to use when unlocking. |
updateMethod | java.lang.String | (Optional) HTTP method to use when updating state. |
username | java.lang.String | (Optional) The username for HTTP basic authentication. |
scopeRequired
- Type: software.constructs.Construct
addressRequired
(Required) The address of the REST endpoint.
clientCaCertificatePemOptional
(Optional) A PEM-encoded CA certificate chain used by the client to verify server certificates during TLS authentication.
clientCertificatePemOptional
(Optional) A PEM-encoded certificate used by the server to verify the client during mutual TLS (mTLS) authentication.
clientPrivateKeyPemOptional
(Optional) A PEM-encoded private key, required if client_certificate_pem is specified.
lockAddressOptional
(Optional) The address of the lock REST endpoint.
Defaults to disabled.
lockMethodOptional
(Optional) The HTTP method to use when locking.
Defaults to LOCK.
passwordOptional
(Optional) The password for HTTP basic authentication.
retryMaxOptional
(Optional) The number of HTTP request retries.
Defaults to 2.
retryWaitMaxOptional
(Optional) The maximum time in seconds to wait between HTTP request attempts.
Defaults to 30.
retryWaitMinOptional
(Optional) The minimum time in seconds to wait between HTTP request attempts.
Defaults to 1.
skipCertVerificationOptional
(Optional) Whether to skip TLS verification.
Defaults to false.
unlockAddressOptional
(Optional) The address of the unlock REST endpoint.
Defaults to disabled.
unlockMethodOptional
(Optional) The HTTP method to use when unlocking.
Defaults to UNLOCK.
updateMethodOptional
(Optional) HTTP method to use when updating state.
Defaults to POST.
usernameOptional
(Optional) The username for HTTP basic authentication.
Methods
| Name | Description |
|---|
toString | Returns a string representation of this construct. |
addOverride | No description. |
overrideLogicalId | Overrides the auto-generated logical ID with a specific ID. |
resetOverrideLogicalId | Resets a previously passed logical Id to use the auto-generated logical id again. |
toHclTerraform | No description. |
toMetadata | No description. |
toTerraform | Adds this resource to the terraform JSON output. |
getRemoteStateDataSource | Creates a TerraformRemoteState resource that accesses this backend. |
toString
public java.lang.String toString()
Returns a string representation of this construct.
addOverride
public void addOverride(java.lang.String path, java.lang.Object value)
pathRequired
valueRequired
overrideLogicalId
public void overrideLogicalId(java.lang.String newLogicalId)
Overrides the auto-generated logical ID with a specific ID.
newLogicalIdRequired
The new logical ID to use for this stack element.
resetOverrideLogicalId
public void resetOverrideLogicalId()
Resets a previously passed logical Id to use the auto-generated logical id again.
public java.lang.Object toHclTerraform()
public java.lang.Object toMetadata()
public java.lang.Object toTerraform()
Adds this resource to the terraform JSON output.
getRemoteStateDataSource
public TerraformRemoteState getRemoteStateDataSource(Construct scope, java.lang.String name, java.lang.String _fromStack)
Creates a TerraformRemoteState resource that accesses this backend.
scopeRequired
- Type: software.constructs.Construct
nameRequired
_fromStackRequired
Static Functions
| Name | Description |
|---|
isConstruct | Checks if x is a construct. |
isTerraformElement | No description. |
isBackend | No description. |
isConstruct
import io.cdktn.cdktn.HttpBackend;
HttpBackend.isConstruct(java.lang.Object x)
Checks if x is a construct.
Use this method instead of instanceof to properly detect Construct
instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the constructs library on
disk are seen as independent, completely different libraries. As a
consequence, the class Construct in each copy of the constructs library
is seen as a different class, and an instance of one class will not test as
instanceof the other class. npm install will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the constructs
library can be accidentally installed, and instanceof will behave
unpredictably. It is safest to avoid using instanceof, and using
this type-testing method instead.
xRequired
Any object.
import io.cdktn.cdktn.HttpBackend;
HttpBackend.isTerraformElement(java.lang.Object x)
xRequired
isBackend
import io.cdktn.cdktn.HttpBackend;
HttpBackend.isBackend(java.lang.Object x)
xRequired
Properties
| Name | Type | Description |
|---|
node | software.constructs.Node | The tree node. |
cdktfStack | TerraformStack | No description. |
fqn | java.lang.String | No description. |
friendlyUniqueId | java.lang.String | No description. |
nodeRequired
- Type: software.constructs.Node
The tree node.
cdktfStackRequired
public TerraformStack getCdktfStack();
fqnRequired
public java.lang.String getFqn();
friendlyUniqueIdRequired
public java.lang.String getFriendlyUniqueId();