AWS SDK Version 2 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.

.NET Framework 4.5
 
Details on a load balancer that is used with a service.

Inheritance Hierarchy

System.Object
  Amazon.ECS.Model.LoadBalancer

Namespace: Amazon.ECS.Model
Assembly: AWSSDK.dll
Version: (assembly version)

Syntax

C#
public class LoadBalancer : Object

The LoadBalancer type exposes the following members

Constructors

NameDescription
Public Method LoadBalancer()

Properties

NameTypeDescription
Public Property ContainerName System.String Gets and sets the property ContainerName.

The name of the container (as it appears in a container definition) to associate with the load balancer.

Public Property ContainerPort System.Int32 Gets and sets the property ContainerPort.

The port on the container to associate with the load balancer. This port must correspond to a containerPort in the service's task definition. Your container instances must allow ingress traffic on the hostPort of the port mapping.

Public Property LoadBalancerName System.String Gets and sets the property LoadBalancerName.

The name of the load balancer.

Version Information

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

.NET for Windows Store apps:
Supported in: Windows 8