'AWS CDK deploy' variables
The AWS CDK deploy action produces and sets the following variables at run time. These are known as predefined variables.
For information about referencing these variables in a workflow, see Using predefined variables.
Key | Value |
---|---|
stack-id |
The Amazon Resource Name (ARN) of the AWS CDK application stack that was deployed to during the workflow run. Example:
|
deployment-platform |
The name of the deployment platform. Hardcoded to |
region |
The region code of the AWS Region that was deployed to during the workflow run. Example: |
SKIP-DEPLOYMENT |
A value of This variable is only produced if its value is Hardcoded to |
AWS CloudFormation variables |
In addition to generating the variables listed previously, the AWS CDK
deploy action also exposes CloudFormation output
variables as workflow variables for use in subsequent workflow
actions. By default, the action only exposes the first four (or fewer) CloudFormation
variables that it finds. To determine which ones are exposed, run the
AWS CDK deploy action once, and then look in the
Variables tab of the run details page. If the variables
listed on the Variables tab are not what you want, you can
configure different ones using the |