Skip to content

ScheduledInstancesEbs

Source code in docs_src/capo_ec2/types/scheduled_instances_ebs.py
class ScheduledInstancesEbs(TypedDict, closed=True):
    delete_on_termination: NotRequired["capo_ec2.types.boolean.Boolean"]
    """<p>Indicates whether the volume is deleted on instance termination.</p>"""
    encrypted: NotRequired["capo_ec2.types.boolean.Boolean"]
    """<p>Indicates whether the volume is encrypted. You can attached encrypted volumes only to instances that support them.</p>"""
    iops: NotRequired["capo_ec2.types.integer.Integer"]
    """<p>The number of I/O operations per second (IOPS) to provision for a <code>gp3</code>, <code>io1</code>, or <code>io2</code> volume.</p>"""
    snapshot_id: NotRequired["capo_ec2.types.snapshot_id.SnapshotId"]
    """<p>The ID of the snapshot.</p>"""
    volume_size: NotRequired["capo_ec2.types.integer.Integer"]
    """<p>The size of the volume, in GiB.</p> <p>Default: If you're creating the volume from a snapshot and don't specify a volume size, the default is the snapshot size.</p>"""
    volume_type: NotRequired["capo_ec2.types.string.String"]
    """<p>The volume type.</p> <p>Default: <code>gp2</code> </p>"""

delete_on_termination instance-attribute

delete_on_termination: NotRequired[Boolean]

Indicates whether the volume is deleted on instance termination.

encrypted instance-attribute

encrypted: NotRequired[Boolean]

Indicates whether the volume is encrypted. You can attached encrypted volumes only to instances that support them.

iops instance-attribute

iops: NotRequired[Integer]

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

snapshot_id instance-attribute

snapshot_id: NotRequired[SnapshotId]

The ID of the snapshot.

volume_size instance-attribute

volume_size: NotRequired[Integer]

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 instance-attribute

volume_type: NotRequired[String]

The volume type.

Default: gp2