VolumeAttachment - Amazon Elastic Compute Cloud

VolumeAttachment

Describes volume attachment details.

Contents

associatedResource

The ARN of the Amazon ECS or Fargate task to which the volume is attached.

Type: String

Required: No

attachTime

The time stamp when the attachment initiated.

Type: Timestamp

Required: No

deleteOnTermination

Indicates whether the EBS volume is deleted on instance termination.

Type: Boolean

Required: No

device

The device name.

If the volume is attached to a Fargate task, this parameter returns null.

Type: String

Required: No

instanceId

The ID of the instance.

If the volume is attached to a Fargate task, this parameter returns null.

Type: String

Required: No

instanceOwningService

The service principal of AWS service that owns the underlying instance to which the volume is attached.

This parameter is returned only for volumes that are attached to Fargate tasks.

Type: String

Required: No

status

The attachment state of the volume.

Type: String

Valid Values: attaching | attached | detaching | detached | busy

Required: No

volumeId

The ID of the volume.

Type: String

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: