Skip to content

InstanceRequirementsDict

Dictionary Type

InstanceRequirementsDict

Bases: TypedDict

Dictionary form of InstanceRequirements.

Attributes

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

A list of EC2 instance types that the capacity provider is allowed to use. If not specified, all compatible instance types are allowed.

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

A list of supported CPU architectures for compute instances. Valid values include x86_64 and arm64.

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

A list of EC2 instance types that the capacity provider should not use, even if they meet other requirements.