💾 Archived View for cfdocs.wetterberg.nu › transform-aws-codedeploybluegreen.gemini captured on 2024-08-25 at 01:59:55. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2021-12-03)

-=-=-=-=-=-=-

AWS::CodeDeployBlueGreen transform

Search

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

Usage

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.

Syntax at the top level of a template

To include `AWS::CodeDeployBlueGreen` in the `Transform` section, use the following syntax.

JSON

1. {
2.   "Transform": "AWS::CodeDeployBlueGreen",
3.     . . .
4. }

YAML

1. "Transform": [
2.     "AWS::CodeDeployBlueGreen"
3. ],

Parameters

The `AWS::CodeDeployBlueGreen` transform does not accept any parameters.

Remarks

For general considerations about using macros, see Considerations when creating AWS CloudFormation macro definitions

Considerations when creating AWS CloudFormation macro definitions

Example

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