Initializers
scopeRequired
- Type: constructs.Construct
idRequired
- Type: str
Methods
| Name | Description |
|---|---|
to_string | Returns a string representation of this construct. |
add_dependency | No description. |
add_override | No description. |
all_providers | No description. |
depends_on | No description. |
ensure_backend_exists | No description. |
get_logical_id | No description. |
has_resource_move | No description. |
prepare_stack | No description. |
register_incoming_cross_stack_reference | No description. |
register_outgoing_cross_stack_reference | No description. |
run_all_validations | Run all validations on the stack. |
to_hcl_terraform | No description. |
to_terraform | No description. |
to_string
add_dependency
dependencyRequired
- Type: TerraformStack
add_override
pathRequired
- Type: str
valueRequired
- Type: typing.Any
all_providers
depends_on
stackRequired
- Type: TerraformStack
ensure_backend_exists
get_logical_id
tf_elementRequired
- Type: constructs.Node | TerraformElement
has_resource_move
prepare_stack
register_incoming_cross_stack_reference
from_stackRequired
- Type: TerraformStack
register_outgoing_cross_stack_reference
identifierRequired
- Type: str
run_all_validations
to_hcl_terraform
to_terraform
Static Functions
| Name | Description |
|---|---|
is_construct | Checks if x is a construct. |
is_stack | No description. |
of | No description. |
is_construct
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: typing.Any
is_stack
xRequired
- Type: typing.Any
of
constructRequired
- Type: constructs.IConstruct
Properties
| Name | Type | Description |
|---|---|---|
node | constructs.Node | The tree node. |
dependencies | typing.List[TerraformStack] | No description. |
move_targets | TerraformResourceTargets | No description. |
synthesizer | IStackSynthesizer | No description. |
nodeRequired
- Type: constructs.Node
dependenciesRequired
- Type: typing.List[TerraformStack]
move_targetsRequired
- Type: TerraformResourceTargets
synthesizerRequired
- Type: IStackSynthesizer