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.TerraformStack;
new TerraformStack(Construct scope, java.lang.String id);
| Name | Type | Description |
|---|
scope | software.constructs.Construct | No description. |
id | java.lang.String | No description. |
scopeRequired
- Type: software.constructs.Construct
idRequired
Methods
| Name | Description |
|---|
toString | Returns a string representation of this construct. |
addDependency | No description. |
addOverride | No description. |
allProviders | No description. |
dependsOn | No description. |
ensureBackendExists | No description. |
getLogicalId | No description. |
hasResourceMove | No description. |
prepareStack | No description. |
registerIncomingCrossStackReference | No description. |
registerOutgoingCrossStackReference | No description. |
runAllValidations | Run all validations on the stack. |
toHclTerraform | No description. |
toTerraform | No description. |
toString
public java.lang.String toString()
Returns a string representation of this construct.
addDependency
public void addDependency(TerraformStack dependency)
dependencyRequired
addOverride
public void addOverride(java.lang.String path, java.lang.Object value)
pathRequired
valueRequired
allProviders
public java.util.List<TerraformProvider> allProviders()
dependsOn
public java.lang.Boolean dependsOn(TerraformStack stack)
stackRequired
ensureBackendExists
public TerraformBackend ensureBackendExists()
getLogicalId
public java.lang.String getLogicalId(Node|TerraformElement tfElement)
tfElementRequired
hasResourceMove
public java.lang.Boolean hasResourceMove()
prepareStack
public void prepareStack()
registerIncomingCrossStackReference
public TerraformRemoteState registerIncomingCrossStackReference(TerraformStack fromStack)
fromStackRequired
registerOutgoingCrossStackReference
public TerraformOutput registerOutgoingCrossStackReference(java.lang.String identifier)
identifierRequired
runAllValidations
public void runAllValidations()
Run all validations on the stack.
public java.util.Map<java.lang.String, java.lang.Object> toHclTerraform()
public java.lang.Object toTerraform()
Static Functions
| Name | Description |
|---|
isConstruct | Checks if x is a construct. |
isStack | No description. |
of | No description. |
isConstruct
import io.cdktn.cdktn.TerraformStack;
TerraformStack.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.
isStack
import io.cdktn.cdktn.TerraformStack;
TerraformStack.isStack(java.lang.Object x)
xRequired
import io.cdktn.cdktn.TerraformStack;
TerraformStack.of(IConstruct construct)
constructRequired
- Type: software.constructs.IConstruct
Properties
| Name | Type | Description |
|---|
node | software.constructs.Node | The tree node. |
dependencies | java.util.List<TerraformStack> | No description. |
moveTargets | TerraformResourceTargets | No description. |
synthesizer | IStackSynthesizer | No description. |
nodeRequired
- Type: software.constructs.Node
The tree node.
dependenciesRequired
public java.util.List<TerraformStack> getDependencies();
moveTargetsRequired
public TerraformResourceTargets getMoveTargets();
synthesizerRequired
public IStackSynthesizer getSynthesizer();