Skip to content

EC2  >  Structures  >  EbsBlockDeviceResponse

EbsBlockDeviceResponse

Structure Class

EbsBlockDeviceResponse 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 volume is deleted on instance termination.

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

Indicates whether the volume is encrypted.

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

The number of I/O operations per second (IOPS). For gp3, io1, and io2 volumes, this represents the number of IOPS that are provisioned for the volume. For gp2 volumes, this represents the baseline performance of the volume and the rate at which the volume accumulates I/O credits for bursting.

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_size class-attribute instance-attribute
volume_size: int | None = ...

The size of the volume, in GiBs.

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

The volume type. For more information, see Amazon EBS volume types in the Amazon EBS User Guide.