AWS::CodeDeployBlueGreen
transform
Use the AWS::CodeDeployBlueGreen
transform to enable ECS
blue/green deployments through CodeDeploy on your stack. For more information, including a
usage example, see Perform ECS blue/green
deployments through CodeDeploy using AWS CloudFormation.
Usage
Use the AWS::CodeDeployBlueGreen
transform at the top
level of the template. You can't use AWS::CodeDeployBlueGreen
as a transform embedded in any other template
section.
The value for the transform declaration must be a literal string. You can't use a parameter or function to specify a transform value.
Syntax at the top level of a template
To include AWS::CodeDeployBlueGreen
in the
Transform
section, use the following syntax.
JSON
"Transform": [ "AWS::CodeDeployBlueGreen" ],
YAML
Transform: - 'AWS::CodeDeployBlueGreen'
Parameters
The AWS::CodeDeployBlueGreen
transform doesn't accept
any parameters.
Remarks
For general considerations about using macros, see Considerations when creating CloudFormation macro definitions
Example
For a complete usage example, see Perform ECS blue/green deployments through CodeDeploy using AWS CloudFormation.