Initialization props for a stage.
|env?||Default AWS environment (account/region) for |
|outdir?||The output directory into which to emit synthesized artifacts.|
(optional, default: The environments should be configured on the
Default AWS environment (account/region) for
Stacks in this
Stacks defined inside this
Stage with either
from its env will use the corresponding field given here.
accountis is not configured for
Stack (either on
Stack itself or on the containing
Stage), the Stack will be
Environment-agnostic stacks can be deployed to any environment, may not be able to take advantage of all features of the CDK. For example, they will not be able to use environmental context lookups, will not automatically translate Service Principals to the right format based on the environment's AWS partition, and other such enhancements.
(optional, default: for nested stages, outdir will be determined as a relative
directory to the outdir of the app. For apps, if outdir is not specified, a
temporary directory will be created.)
The output directory into which to emit synthesized artifacts.
Can only be specified if this stage is the root stage (the app). If this is specified and this stage is nested within another stage, an error will be thrown.