Menu
AWS CloudFormation
User Guide (API Version 2010-05-15)

AWS CodeDeploy DeploymentGroup LoadBalancerInfo

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

For AWS 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, AWS CloudFormation ignores any settings specified in LoadBalancerInfo.

Note

Currently, AWS CloudFormation only supports IN_PLACE deployment types.

LoadBalancerInfo is a property of the AWS::CodeDeploy::DeploymentGroup resource.

Syntax

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

JSON

Copy
{ "ElbInfoList" : [ ELBInfo, ... ], "TargetGroupInfoList" : [ TargetGroupInfo, ... ] }

Properties

ElbInfoList

Information about the Elastic Load Balancing load balancer to use in the deployment.

Conditional: You must specify either ElbInfoList or TargetGroupInfoList, but not both.

Required: No

Type: List of AWS CodeDeploy DeploymentGroup ELBInfo

Update requires: No interruption

TargetGroupInfoList

information about the target groups to use in the deployment. Instances are registered as targets in a target group, and traffic is routed to the target group.

Conditional: You must specify either ElbInfoList or TargetGroupInfoList, but not both.

Required: No

Type: List of AWS CodeDeploy DeploymentGroup TargetGroupInfo

Update requires: No interruption

On this page: