Skip to content

InstanceRequirements

Source code in docs_src/capo_lambda/types/instance_requirements.py
class InstanceRequirements(TypedDict, closed=True):
    architectures: NotRequired["capo_lambda.types.architectures_list.ArchitecturesList"]
    """<p>A list of supported CPU architectures for compute instances. Valid values include <code>x86_64</code> and <code>arm64</code>.</p>"""
    allowed_instance_types: NotRequired[
        "capo_lambda.types.instance_type_set.InstanceTypeSet"
    ]
    """<p>A list of EC2 instance types that the capacity provider is allowed to use. If not specified, all compatible instance types are allowed.</p>"""
    excluded_instance_types: NotRequired[
        "capo_lambda.types.instance_type_set.InstanceTypeSet"
    ]
    """<p>A list of EC2 instance types that the capacity provider should not use, even if they meet other requirements.</p>"""

allowed_instance_types instance-attribute

allowed_instance_types: NotRequired[InstanceTypeSet]

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: NotRequired[ArchitecturesList]

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

excluded_instance_types instance-attribute

excluded_instance_types: NotRequired[InstanceTypeSet]

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