Skip to content

EC2  >  Structures  >  BlockDeviceMappingResponse

BlockDeviceMappingResponse

Structure Class

BlockDeviceMappingResponse dataclass

Bases: _SerdeShape

Describes a block device mapping, which defines the EBS volumes and instance store volumes to attach to an instance at launch.

Attributes

device_name class-attribute instance-attribute
device_name: str | None = ...

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

ebs class-attribute instance-attribute
ebs: EbsBlockDeviceResponse | None = ...

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

no_device class-attribute instance-attribute
no_device: str | None = ...

Suppresses the specified device included in the block device mapping.

virtual_name class-attribute instance-attribute
virtual_name: str | None = ...

The virtual device name.