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.

An object representing a container instance or task attachment.

Inheritance Hierarchy

System.Object
  Amazon.ECS.Model.Attachment

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

Syntax

C#
public class Attachment

The Attachment type exposes the following members

Constructors

NameDescription
Public Method Attachment()

Properties

NameTypeDescription
Public Property Details System.Collections.Generic.List<Amazon.ECS.Model.KeyValuePair>

Gets and sets the property Details.

Details of the attachment.

For elastic network interfaces, this includes the network interface ID, the MAC address, the subnet ID, and the private IPv4 address.

For Service Connect services, this includes portName, clientAliases, discoveryName, and ingressPortOverride.

For Elastic Block Storage, this includes roleArn, deleteOnTermination, volumeName, volumeId, and statusReason (only when the attachment fails to create or attach).

Public Property Id System.String

Gets and sets the property Id.

The unique identifier for the attachment.

Public Property Status System.String

Gets and sets the property Status.

The status of the attachment. Valid values are PRECREATED, CREATED, ATTACHING, ATTACHED, DETACHING, DETACHED, DELETED, and FAILED.

Public Property Type System.String

Gets and sets the property Type.

The type of the attachment, such as ElasticNetworkInterface, Service Connect, and AmazonElasticBlockStorage.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

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