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.

A Docker container that is part of a task.

Inheritance Hierarchy

System.Object
  Amazon.ECS.Model.Container

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

Syntax

C#
public class Container

The Container type exposes the following members

Constructors

NameDescription
Public Method Container()

Properties

NameTypeDescription
Public Property ContainerArn System.String

Gets and sets the property ContainerArn.

The Amazon Resource Name (ARN) of the container.

Public Property ExitCode System.Int32

Gets and sets the property ExitCode.

The exit code returned from the container.

Public Property LastStatus System.String

Gets and sets the property LastStatus.

The last known status of the container.

Public Property Name System.String

Gets and sets the property Name.

The name of the container.

Public Property NetworkBindings System.Collections.Generic.List<Amazon.ECS.Model.NetworkBinding>

Gets and sets the property NetworkBindings.

The network bindings associated with the container.

Public Property Reason System.String

Gets and sets the property Reason.

A short (255 max characters) human-readable string to provide additional details about a running or stopped container.

Public Property TaskArn System.String

Gets and sets the property TaskArn.

The Amazon Resource Name (ARN) of the task.

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