Skip to content

InstanceSpecification

Source code in docs_src/capo_ec2/types/instance_specification.py
class InstanceSpecification(TypedDict, closed=True):
    instance_id: NotRequired[
        "capo_ec2.types.instance_id_with_volume_resolver.InstanceIdWithVolumeResolver"
    ]
    """<p>The instance to specify which volumes should be snapshotted.</p>"""
    exclude_boot_volume: NotRequired["capo_ec2.types.boolean.Boolean"]
    """<p>Excludes the root volume from being snapshotted.</p>"""
    exclude_data_volume_ids: NotRequired[
        "capo_ec2.types.volume_id_string_list.VolumeIdStringList"
    ]
    """<p>The IDs of the data (non-root) volumes to exclude from the multi-volume snapshot set. If you specify the ID of the root volume, the request fails. To exclude the root volume, use <b>ExcludeBootVolume</b>.</p> <p>You can specify up to 40 volume IDs per request.</p>"""

exclude_boot_volume instance-attribute

exclude_boot_volume: NotRequired[Boolean]

Excludes the root volume from being snapshotted.

exclude_data_volume_ids instance-attribute

exclude_data_volume_ids: NotRequired[VolumeIdStringList]

The IDs of the data (non-root) volumes to exclude from the multi-volume snapshot set. If you specify the ID of the root volume, the request fails. To exclude the root volume, use ExcludeBootVolume.

You can specify up to 40 volume IDs per request.

instance_id instance-attribute

instance_id: NotRequired[InstanceIdWithVolumeResolver]

The instance to specify which volumes should be snapshotted.