Skip to content

EC2  >  Structures  >  LaunchTemplateBlockDeviceMapping

LaunchTemplateBlockDeviceMapping

Structure Class

LaunchTemplateBlockDeviceMapping dataclass

Bases: _SerdeShape

Describes a block device mapping.

Attributes

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

The device name.

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

Information about the block device for an EBS volume.

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

To omit the device from the block device mapping, specify an empty string.

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

The virtual device name (ephemeralN).