Attachment
An object representing a container instance or task attachment.
Contents
- 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
, andingressPortOverride
.For Elastic Block Storage, this includes
roleArn
,deleteOnTermination
,volumeName
,volumeId
, andstatusReason
(only when the attachment fails to create or attach).Type: Array of KeyValuePair objects
Required: No
- id
-
The unique identifier for the attachment.
Type: String
Required: No
- status
-
The status of the attachment. Valid values are
PRECREATED
,CREATED
,ATTACHING
,ATTACHED
,DETACHING
,DETACHED
,DELETED
, andFAILED
.Type: String
Required: No
- type
-
The type of the attachment, such as
ElasticNetworkInterface
,Service Connect
, andAmazonElasticBlockStorage
.Type: String
Required: No
See Also
For more information about using this API in one of the language-specific Amazon SDKs, see the following: