Optionalprops: StagePropsReadonly Internal_Optional ReadonlyaccountThe default account for all resources defined within this stage.
ReadonlynodeThe tree node.
Optional ReadonlyparentThe parent stage or undefined if this is the app.
*
ReadonlypolicyValidation plugins to run during synthesis. If any plugin reports any violation, synthesis will be interrupted and the report displayed to the user.
Optional ReadonlyregionThe default region for all resources defined within this stage.
ReadonlystageThe name of the stage. Based on names of the parent stages separated by hypens.
Artifact ID of the assembly if it is a nested stage. The root stage (app) will return an empty string.
Derived from the construct path.
The cloud assembly asset output directory.
The cloud assembly output directory.
Synthesize this stage into a cloud assembly.
Once an assembly has been synthesized, it cannot be modified. Subsequent calls will return the same assembly.
Optionaloptions: StageSynthesisOptionsReturns a string representation of this construct.
StaticisChecks 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.
Any object
true if x is an object created from a class which extends Construct.
StaticisTest whether the given construct is a stage.
StaticofReturn the stage this construct is contained with, if available. If called on a nested stage, returns its parent.
The cloud assembly builder that is being used for this App