💾 Archived View for cfdocs.wetterberg.nu › transform-aws-codedeploybluegreen.gemini captured on 2021-12-03 at 14:04:38. Gemini links have been rewritten to link to archived content
-=-=-=-=-=-=-
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.
Perform ECS blue/green deployments through CodeDeploy using AWS CloudFormation
Use the `AWS::CodeDeployBlueGreen` transform at the top level of the template. You cannot use `AWS::CodeDeployBlueGreen` as a transform embedded in any other template section.
The value for the transform declaration must be a literal string. You cannot use a parameter or function to specify a transform value.
To include `AWS::CodeDeployBlueGreen` in the `Transform` section, use the following syntax.
1. { 2. "Transform": "AWS::CodeDeployBlueGreen", 3. . . . 4. }
1. "Transform": [ 2. "AWS::CodeDeployBlueGreen" 3. ],
The `AWS::CodeDeployBlueGreen` transform does not accept any parameters.
For general considerations about using macros, see Considerations when creating AWS CloudFormation macro definitions
Considerations when creating AWS CloudFormation macro definitions
For a complete usage example, see Perform ECS blue/green deployments through CodeDeploy using AWS CloudFormation.
Perform ECS blue/green deployments through CodeDeploy using AWS CloudFormation