Skip to content

EC2  >  Structures  >  ScheduledInstancesEbs

ScheduledInstancesEbs

Structure Class

ScheduledInstancesEbs dataclass

Bases: _SerdeShape

Describes an EBS volume for a Scheduled Instance.

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. You can attached encrypted volumes only to instances that support them.

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

The number of I/O operations per second (IOPS) to provision for a gp3, io1, or io2 volume.

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

The ID of the snapshot.

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

The size of the volume, in GiB.

Default: If you're creating the volume from a snapshot and don't specify a volume size, the default is the snapshot size.

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

The volume type.

Default: gp2