Optional ReadonlyapprovalOptional comment shown in the approval notification.
Only relevant when requireApproval is true.
Optional ReadonlybakeOptional baking time after deployment before proceeding. Useful for canary validation — gives time for alarms to fire.
Implemented as a CodeBuild sleep step (~$0.005/min on
BUILD_GENERAL1_SMALL). An explicit timeout of bakeTime + 10 minutes
is set on the CodeBuild step to prevent pipeline hangs.
For longer baking periods, use requireApproval: true with
external monitoring/alerting instead.
Optional ReadonlyconfigUser-defined configuration passed through to the stageFactory.
Use this for per-stage settings like domain names, feature flags, scaling parameters, etc.
Optional ReadonlyenvTarget AWS account and region for this stage. When omitted, deploys to the pipeline's own account/region.
Optional ReadonlyenvironmentEnvironment variables to set on process.env when importing the app file for this stage.
These are synthesis-time variables (available during cdk synth), not deployment-time.
Use this for per-stage configuration that your CDK app reads from process.env
(e.g., domain names, feature flags). Only applies when using the appFile prop.
ReadonlynameLogical name for this stage (e.g., 'beta', 'prod'). Used as the CDK Stage construct id.
Optional ReadonlyrequireWhether to require manual approval before deploying to this stage.
Configuration for a deployment stage.
Each stage represents a deployment environment (e.g., beta, prod). Stages are deployed in the order they appear in the
stagesarray.