AWS::CodeDeployBlueGreen transform - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

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 Amazon 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 Amazon CloudFormation macro definitions

Example

For a complete usage example, see Perform ECS blue/green deployments through CodeDeploy using Amazon CloudFormation.