AWS::CodeDeploy::DeploymentGroup LoadBalancerInfo - 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::CodeDeploy::DeploymentGroup LoadBalancerInfo

The LoadBalancerInfo property type specifies information about the load balancer or target group used for an Amazon CodeDeploy deployment group. For more information, see Integrating CodeDeploy with Elastic Load Balancing in the Amazon CodeDeploy User Guide.

For Amazon CloudFormation to use the properties specified in LoadBalancerInfo, the DeploymentStyle.DeploymentOption property must be set to WITH_TRAFFIC_CONTROL. If DeploymentStyle.DeploymentOption is not set to WITH_TRAFFIC_CONTROL, Amazon CloudFormation ignores any settings specified in LoadBalancerInfo.

Note

Amazon CloudFormation supports blue/green deployments on the Amazon Lambda compute platform only.

LoadBalancerInfo is a property of the DeploymentGroup resource.

Syntax

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

Properties

ElbInfoList

An array that contains information about the load balancer to use for load balancing in a deployment. In Elastic Load Balancing, load balancers are used with Classic Load Balancers.

Note

Adding more than one load balancer to the array is not supported.

Required: No

Type: List of ELBInfo

Update requires: No interruption

TargetGroupInfoList

An array that contains information about the target group to use for load balancing in a deployment. In Elastic Load Balancing, target groups are used with Application Load Balancers.

Note

Adding more than one target group to the array is not supported.

Required: Conditional

Type: List of TargetGroupInfo

Update requires: No interruption

TargetGroupPairInfoList

Property description not available.

Required: No

Type: List of TargetGroupPairInfo

Update requires: No interruption