Volume / Attribute / attachments

attachments#

EC2.Volume.attachments#
  • (list) –

    Note

    This parameter is not returned by CreateVolume.

    Information about the volume attachments.

    • (dict) –

      Describes volume attachment details.

      • AttachTime (datetime) –

        The time stamp when the attachment initiated.

      • 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.

      • State (string) –

        The attachment state of the volume.

      • VolumeId (string) –

        The ID of the volume.

      • DeleteOnTermination (boolean) –

        Indicates whether the EBS volume is deleted on instance termination.

      • AssociatedResource (string) –

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

      • InstanceOwningService (string) –

        The service principal of Amazon Web Services 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.