AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
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
.
Namespace: Amazon.CodeDeploy.Model
Assembly: AWSSDK.CodeDeploy.dll
Version: 3.x.y.z
public class LoadBalancerInfo
The LoadBalancerInfo type exposes the following members
Name | Description | |
---|---|---|
LoadBalancerInfo() |
Name | Type | Description | |
---|---|---|---|
ElbInfoList | System.Collections.Generic.List<Amazon.CodeDeploy.Model.ELBInfo> |
Gets and sets the property 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. You can add up to 10 load balancers to the array.
If you're using Application Load Balancers or Network Load Balancers, use the |
|
TargetGroupInfoList | System.Collections.Generic.List<Amazon.CodeDeploy.Model.TargetGroupInfo> |
Gets and sets the property 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. You can add up to 10 target groups to the array.
If you're using Classic Load Balancers, use the |
|
TargetGroupPairInfoList | System.Collections.Generic.List<Amazon.CodeDeploy.Model.TargetGroupPairInfo> |
Gets and sets the property TargetGroupPairInfoList.
The target group pair information. This is an array of |
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5