Skip to content

ServiceManagedEc2InstanceCapabilities

Source code in docs_src/capo_deadline/types/service_managed_ec2_instance_capabilities.py
class ServiceManagedEc2InstanceCapabilities(TypedDict, closed=True):
    v_cpu_count: "capo_deadline.types.v_cpu_count_range.VCpuCountRange"
    """The amount of vCPU to require for instances in this fleet."""
    memory_mi_b: "capo_deadline.types.memory_mi_b_range.MemoryMiBRange"
    """The memory, as MiB, for the Amazon EC2 instance type."""
    os_family: "capo_deadline.types.service_managed_fleet_operating_system_family.ServiceManagedFleetOperatingSystemFamily"
    """The operating system (OS) family."""
    cpu_architecture_type: (
        "capo_deadline.types.cpu_architecture_type.CpuArchitectureType"
    )
    """The CPU architecture type."""
    root_ebs_volume: NotRequired["capo_deadline.types.ec2_ebs_volume.Ec2EbsVolume"]
    """The root EBS volume."""
    accelerator_capabilities: NotRequired[
        "capo_deadline.types.accelerator_capabilities.AcceleratorCapabilities"
    ]
    """Describes the GPU accelerator capabilities required for worker host instances in this fleet."""
    allowed_instance_types: NotRequired[
        "capo_deadline.types.instance_types.InstanceTypes"
    ]
    """<p>The allowable Amazon EC2 instance types.</p> <note> <p>If you specify <code>allowedInstanceTypes</code>, you can't specify <code>excludedInstanceTypes</code>.</p> </note>"""
    excluded_instance_types: NotRequired[
        "capo_deadline.types.instance_types.InstanceTypes"
    ]
    """<p>The instance types to exclude from the fleet.</p> <note> <p>If you specify <code>excludedInstanceTypes</code>, you can't specify <code>allowedInstanceTypes</code>.</p> </note>"""
    custom_amounts: NotRequired[
        "capo_deadline.types.custom_fleet_amount_capabilities.CustomFleetAmountCapabilities"
    ]
    """The custom capability amounts to require for instances in this fleet."""
    custom_attributes: NotRequired[
        "capo_deadline.types.custom_fleet_attribute_capabilities.CustomFleetAttributeCapabilities"
    ]
    """The custom capability attributes to require for instances in this fleet."""
    software_add_ons: NotRequired[
        "capo_deadline.types.fleet_software_add_ons.FleetSoftwareAddOns"
    ]
    """The software add-ons that the service installs on worker hosts when they launch."""

accelerator_capabilities instance-attribute

accelerator_capabilities: NotRequired[AcceleratorCapabilities]

Describes the GPU accelerator capabilities required for worker host instances in this fleet.

allowed_instance_types instance-attribute

allowed_instance_types: NotRequired[InstanceTypes]

The allowable Amazon EC2 instance types.

If you specify allowedInstanceTypes, you can't specify excludedInstanceTypes.

cpu_architecture_type instance-attribute

cpu_architecture_type: CpuArchitectureType

The CPU architecture type.

custom_amounts instance-attribute

custom_amounts: NotRequired[CustomFleetAmountCapabilities]

The custom capability amounts to require for instances in this fleet.

custom_attributes instance-attribute

custom_attributes: NotRequired[CustomFleetAttributeCapabilities]

The custom capability attributes to require for instances in this fleet.

excluded_instance_types instance-attribute

excluded_instance_types: NotRequired[InstanceTypes]

The instance types to exclude from the fleet.

If you specify excludedInstanceTypes, you can't specify allowedInstanceTypes.

memory_mi_b instance-attribute

memory_mi_b: MemoryMiBRange

The memory, as MiB, for the Amazon EC2 instance type.

os_family instance-attribute

The operating system (OS) family.

root_ebs_volume instance-attribute

root_ebs_volume: NotRequired[Ec2EbsVolume]

The root EBS volume.

software_add_ons instance-attribute

software_add_ons: NotRequired[FleetSoftwareAddOns]

The software add-ons that the service installs on worker hosts when they launch.

v_cpu_count instance-attribute

v_cpu_count: VCpuCountRange

The amount of vCPU to require for instances in this fleet.