Skip to content

EC2  >  Structures  >  LaunchTemplateEbsBlockDevice

LaunchTemplateEbsBlockDevice

Structure Class

LaunchTemplateEbsBlockDevice dataclass

Bases: _SerdeShape

Describes a block device for an EBS volume.

Attributes

delete_on_termination class-attribute instance-attribute
delete_on_termination: bool | None = ...

Indicates whether the EBS volume is deleted on instance termination.

ebs_card_index class-attribute instance-attribute
ebs_card_index: int | None = ...

The index of the EBS card. Some instance types support multiple EBS cards. The default EBS card index is 0.

encrypted class-attribute instance-attribute
encrypted: bool | None = ...

Indicates whether the EBS volume is encrypted.

iops class-attribute instance-attribute
iops: int | None = ...

The number of I/O operations per second (IOPS) that the volume supports.

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

Identifier (key ID, key alias, key ARN, or alias ARN) of the customer managed KMS key to use for EBS encryption.

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

The ID of the snapshot.

throughput class-attribute instance-attribute
throughput: int | None = ...

The throughput that the volume supports, in MiB/s.

volume_initialization_rate class-attribute instance-attribute
volume_initialization_rate: int | None = ...

The Amazon EBS Provisioned Rate for Volume Initialization (volume initialization rate) specified for the volume, in MiB/s. If no volume initialization rate was specified, the value is null.

volume_size class-attribute instance-attribute
volume_size: int | None = ...

The size of the volume, in GiB.

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

The volume type.