AWS EBS

Detach volume

Detach an EBS volume from an instance.

Inputs

Field

Type

Description

region [required]

enum

default: us-east-1

volumeId [required]

string

The ID of the volume.

instanceId

string

The ID of the instance. If you are detaching a Multi-Attach enabled volume, you must specify an instance ID.

device

string

Outputs

Field

Type

Description

device

string

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

instanceId

string

The ID of the instance. If the volume is attached to a Fargate task, this parameter returns null.

volumeId

string

The ID of the volume.

atttachTime

date-time

The time stamp when the attachment initiated.

state

string

The attachment state of the volume.

deleteOnTermination

boolean

Indicates whether the EBS volume is deleted on instance termination.

amzRequestId [required]

string