AWS SDK Version 3 for .NET
API Reference

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.

Inheritance Hierarchy

System.Object
  Amazon.CodeDeploy.Model.LoadBalancerInfo

Namespace: Amazon.CodeDeploy.Model
Assembly: AWSSDK.CodeDeploy.dll
Version: 3.x.y.z

Syntax

C#
public class LoadBalancerInfo

The LoadBalancerInfo type exposes the following members

Constructors

NameDescription
Public Method LoadBalancerInfo()

Properties

NameTypeDescription
Public Property 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 array instead of this one.

Public Property 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 elbInfoList array instead of this one.

Public Property 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 TargeGroupPairInfo objects with a maximum size of one.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5