LoadBalancerInfo - Amazon CodeDeploy
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).

LoadBalancerInfo

Information about the Elastic Load Balancing load balancer or target group used in a deployment.

You can use load balancers and target groups in combination. For example, if you have two Classic Load Balancers, and five target groups tied to an Application Load Balancer, you can specify the two Classic Load Balancers in elbInfoList, and the five target groups in targetGroupInfoList.

Contents

elbInfoList

An array that contains information about the load balancers to use for load balancing in a deployment. If you're using Classic Load Balancers, specify those load balancers in this array.

Note

You can add up to 10 load balancers to the array.

Note

If you're using Application Load Balancers or Network Load Balancers, use the targetGroupInfoList array instead of this one.

Type: Array of ELBInfo objects

Required: No

targetGroupInfoList

An array that contains information about the target groups to use for load balancing in a deployment. If you're using Application Load Balancers and Network Load Balancers, specify their associated target groups in this array.

Note

You can add up to 10 target groups to the array.

Note

If you're using Classic Load Balancers, use the elbInfoList array instead of this one.

Type: Array of TargetGroupInfo objects

Required: No

targetGroupPairInfoList

The target group pair information. This is an array of TargeGroupPairInfo objects with a maximum size of one.

Type: Array of TargetGroupPairInfo objects

Required: No

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: