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.TerraformProvider;
TerraformProvider.Builder.create(Construct scope, java.lang.String id)
.terraformResourceType(java.lang.String)
// .terraformGeneratorMetadata(TerraformProviderGeneratorMetadata)
// .terraformProviderSource(java.lang.String)
.build();
| Name | Type | Description |
|---|
scope | software.constructs.Construct | No description. |
id | java.lang.String | No description. |
terraformResourceType | java.lang.String | No description. |
terraformGeneratorMetadata | TerraformProviderGeneratorMetadata | No description. |
terraformProviderSource | java.lang.String | No description. |
scopeRequired
- Type: software.constructs.Construct
idRequired
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. |
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.
Static Functions
| Name | Description |
|---|
isConstruct | Checks if x is a construct. |
isTerraformElement | No description. |
isTerraformProvider | No description. |
isConstruct
import io.cdktn.cdktn.TerraformProvider;
TerraformProvider.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.TerraformProvider;
TerraformProvider.isTerraformElement(java.lang.Object x)
xRequired
import io.cdktn.cdktn.TerraformProvider;
TerraformProvider.isTerraformProvider(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. |
metaAttributes | java.util.Map< java.lang.String, java.lang.Object > | No description. |
terraformResourceType | java.lang.String | No description. |
terraformGeneratorMetadata | TerraformProviderGeneratorMetadata | No description. |
terraformProviderSource | java.lang.String | No description. |
alias | 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();
public java.util.Map<java.lang.String, java.lang.Object> getMetaAttributes();
- Type: java.util.Map< java.lang.String, java.lang.Object >
public java.lang.String getTerraformResourceType();
public TerraformProviderGeneratorMetadata getTerraformGeneratorMetadata();
public java.lang.String getTerraformProviderSource();
aliasOptional
public java.lang.String getAlias();