AWS CloudFormation
User Guide (Version )

AWS::CodeDeploy::DeploymentGroup DeploymentStyle

Information about the type of deployment, either in-place or blue/green, you want to run and whether to route deployment traffic behind a load balancer.

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

{ "DeploymentOption" : String, "DeploymentType" : String }

YAML

DeploymentOption: String DeploymentType: String

Properties

DeploymentOption

Indicates whether to route deployment traffic behind a load balancer.

Note

An EC2 Application Load Balancer or Network Load Balancer is required for an Amazon ECS deployment.

Required: No

Type: String

Allowed Values: WITH_TRAFFIC_CONTROL | WITHOUT_TRAFFIC_CONTROL

Update requires: No interruption

DeploymentType

Indicates whether to run an in-place or blue/green deployment.

AWS CloudFormation supports blue/green deployments on AWS Lambda compute platforms only. For more information about deploying on an AWS Lambda compute platform, see Deployments on an AWS Lambda Compute Platform in the AWS CodeDeploy User Guide.

Required: No

Type: String

Allowed Values: BLUE_GREEN | IN_PLACE

Update requires: No interruption

See Also

On this page: