Initializers
scopeRequired
- Type: constructs.Construct
idRequired
- Type: string
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
addDependency
dependencyRequired
- Type: TerraformStack
addOverride
pathRequired
- Type: string
valueRequired
- Type: any
allProviders
dependsOn
stackRequired
- Type: TerraformStack
ensureBackendExists
getLogicalId
tfElementRequired
- Type: constructs.Node | TerraformElement
hasResourceMove
prepareStack
registerIncomingCrossStackReference
fromStackRequired
- Type: TerraformStack
registerOutgoingCrossStackReference
identifierRequired
- Type: string
runAllValidations
toHclTerraform
toTerraform
Static Functions
| Name | Description |
|---|---|
isConstruct | Checks if x is a construct. |
isStack | No description. |
of | No description. |
isConstruct
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
- Type: any
isStack
xRequired
- Type: any
of
constructRequired
- Type: constructs.IConstruct
Properties
| Name | Type | Description |
|---|---|---|
node | constructs.Node | The tree node. |
dependencies | TerraformStack[] | No description. |
moveTargets | TerraformResourceTargets | No description. |
synthesizer | IStackSynthesizer | No description. |
nodeRequired
- Type: constructs.Node
dependenciesRequired
- Type: TerraformStack[]
moveTargetsRequired
- Type: TerraformResourceTargets
synthesizerRequired
- Type: IStackSynthesizer