Initializers
configOptional
- Type: AppConfig
Methods
| Name | Description |
|---|---|
toString | Returns a string representation of this construct. |
crossStackReference | Creates a reference from one stack to another, invoked on prepareStack since it creates extra resources. |
synth | Synthesizes all resources to the output directory. |
toString
crossStackReference
fromStackRequired
- Type: TerraformStack
toStackRequired
- Type: TerraformStack
identifierRequired
- Type: string
synth
Static Functions
| Name | Description |
|---|---|
isConstruct | Checks if x is a construct. |
isApp | 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
isApp
xRequired
- Type: any
of
constructRequired
- Type: constructs.IConstruct
Properties
| Name | Type | Description |
|---|---|---|
node | constructs.Node | The tree node. |
hclOutput | boolean | No description. |
manifest | Manifest | No description. |
outdir | string | The output directory into which resources will be synthesized. |
skipBackendValidation | boolean | Whether to skip backend validation during synthesis of the app. |
skipValidation | boolean | Whether to skip all validations during synthesis of the app. |
targetStackId | string | The stack which will be synthesized. |
nodeRequired
- Type: constructs.Node
hclOutputRequired
- Type: boolean
manifestRequired
- Type: Manifest
outdirRequired
- Type: string
skipBackendValidationRequired
- Type: boolean
skipValidationRequired
- Type: boolean
targetStackIdOptional
- Type: string