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.
RUNNING
status, manual and automatic host and
container port assignments are visible in the networkBindings
section
of DescribeTasks API responses.
Namespace: Amazon.ECS.Model
Assembly: AWSSDK.dll
Version: (assembly version)
public class NetworkBinding : Object
The NetworkBinding type exposes the following members
Name | Description | |
---|---|---|
NetworkBinding() |
Name | Type | Description | |
---|---|---|---|
BindIP | System.String |
Gets and sets the property BindIP.
The IP address that the container is bound to on the container instance. |
|
ContainerPort | System.Int32 |
Gets and sets the property ContainerPort.
The port number on the container that is be used with the network binding. |
|
HostPort | System.Int32 |
Gets and sets the property HostPort.
The port number on the host that is used with the network binding. |
|
Protocol | Amazon.ECS.TransportProtocol |
Gets and sets the property Protocol.
The protocol used for the network binding. |
.NET Framework:
Supported in: 4.5, 4.0, 3.5
.NET for Windows Store apps:
Supported in: Windows 8