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 the network bindings between a container and its host container instance. After a task reaches the RUNNING status, manual and automatic host and container port assignments are visible in the networkBindings section of DescribeTasks API responses.

Inheritance Hierarchy

System.Object
  Amazon.ECS.Model.NetworkBinding

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

Syntax

C#
public class NetworkBinding : Object

The NetworkBinding type exposes the following members

Constructors

NameDescription
Public Method NetworkBinding()

Properties

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

The IP address that the container is bound to on the container instance.

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

The port number on the container that is be used with the network binding.

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

The port number on the host that is used with the network binding.

Public Property Protocol Amazon.ECS.TransportProtocol Gets and sets the property Protocol.

The protocol used for the network binding.

Version Information

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

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