Skip to content

EC2  >  Dictionaries  >  InstanceTypeSpecificationRequestDict

InstanceTypeSpecificationRequestDict

Dictionary Type

InstanceTypeSpecificationRequestDict

Bases: TypedDict

Dictionary form of InstanceTypeSpecificationRequest.

Attributes

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

The instance types that the AMI supports. You can specify instance type names or use wildcard patterns (for example, t3.*).

Constraints: Maximum 100 entries. Each entry must be 1-24 characters and match the pattern ^[A-Za-z0-9_.*-]+$. Consecutive wildcard characters (**) are not allowed. Entries must be unique within each list and across both lists; duplicate entries cause the request to fail.

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

The instance types that the AMI does not support. You can specify instance type names or use wildcard patterns (for example, t3.*).

Constraints: Maximum 100 entries. Each entry must be 1-24 characters and match the pattern ^[A-Za-z0-9_.*-]+$. Consecutive wildcard characters (**) are not allowed. Entries must be unique within each list and across both lists; duplicate entries cause the request to fail.