VolumeAttachment
¶
Source code in docs_src/capo_ec2/types/volume_attachment.py
associated_resource
instance-attribute
¶
associated_resource: NotRequired[String]
The ARN of the Amazon Web Services-managed resource to which the volume is attached.
attach_time
instance-attribute
¶
attach_time: NotRequired[DateTime]
The time stamp when the attachment initiated.
delete_on_termination
instance-attribute
¶
delete_on_termination: NotRequired[Boolean]
Indicates whether the EBS volume is deleted on instance termination.
device
instance-attribute
¶
device: NotRequired[String]
The device name.
If the volume is attached to an Amazon Web Services-managed resource, this parameter returns null.
ebs_card_index
instance-attribute
¶
ebs_card_index: NotRequired[Integer]
The index of the EBS card. Some instance types support multiple EBS cards. The default EBS card index is 0.
instance_id
instance-attribute
¶
instance_id: NotRequired[String]
The ID of the instance.
If the volume is attached to an Amazon Web Services-managed resource, this parameter returns null.
instance_owning_service
instance-attribute
¶
instance_owning_service: NotRequired[String]
The service principal of the Amazon Web Services service that owns the underlying resource to which the volume is attached.
This parameter is returned only for volumes that are attached to Amazon Web Services-managed resources.
state
instance-attribute
¶
state: NotRequired[VolumeAttachmentState]
The attachment state of the volume.