Skip to content

EC2  >  Dictionaries  >  InstanceSpecificationDict

InstanceSpecificationDict

Dictionary Type

InstanceSpecificationDict

Bases: TypedDict

Dictionary form of InstanceSpecification.

Attributes

exclude_boot_volume instance-attribute
exclude_boot_volume: bool | None

Excludes the root volume from being snapshotted.

exclude_data_volume_ids instance-attribute
exclude_data_volume_ids: Sequence[str] | None

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: Required[str]

The instance to specify which volumes should be snapshotted.