Skip to content

InferenceAccelerator

Source code in docs_src/capo_ecs/types/inference_accelerator.py
class InferenceAccelerator(TypedDict, closed=True):
    device_name: "capo_ecs.types.string.String"
    """<p>The Elastic Inference accelerator device name. The <code>deviceName</code> must also be referenced in a container definition as a <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ResourceRequirement.html">ResourceRequirement</a>.</p>"""
    device_type: "capo_ecs.types.string.String"
    """<p>The Elastic Inference accelerator type to use.</p>"""

device_name instance-attribute

device_name: String

The Elastic Inference accelerator device name. The deviceName must also be referenced in a container definition as a ResourceRequirement.

device_type instance-attribute

device_type: String

The Elastic Inference accelerator type to use.