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 3.5
 
A Docker container that is part of a task.

Inheritance Hierarchy

System.Object
  Amazon.ECS.Model.Container

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

Syntax

C#
public class Container : Object

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 detail 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 Framework:
Supported in: 4.5, 4.0, 3.5

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