Instance / Attribute / block_device_mappings

block_device_mappings#

EC2.Instance.block_device_mappings#
  • (list) –

    Any block device mapping entries for the instance.

    • (dict) –

      Describes a block device mapping.

      • DeviceName (string) –

        The device name (for example, /dev/sdh or xvdh).

      • Ebs (dict) –

        Parameters used to automatically set up EBS volumes when the instance is launched.

        • AttachTime (datetime) –

          The time stamp when the attachment initiated.

        • DeleteOnTermination (boolean) –

          Indicates whether the volume is deleted on instance termination.

        • Status (string) –

          The attachment state.

        • VolumeId (string) –

          The ID of the EBS volume.

        • AssociatedResource (string) –

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

        • VolumeOwnerId (string) –

          The ID of the Amazon Web Services account that owns the volume.

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

        • Operator (dict) –

          The entity that manages the EBS volume.

          • Managed (boolean) –

            If true, the resource is managed by an entity.

          • Principal (string) –

            If managed is true, then the principal is returned. The principal is the entity that manages the resource.