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.

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.ECS.dll
Version: 3.x.y.z

Syntax

C#
public class NetworkBinding

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 Standard:
Supported in: 1.3

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

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms