Skip to content

ECS  >  Structures  >  InferenceAcceleratorOverride

InferenceAcceleratorOverride

Structure Class

InferenceAcceleratorOverride dataclass

Bases: _SerdeShape

Details on an Elastic Inference accelerator task override. This parameter is used to override the Elastic Inference accelerator specified in the task definition. For more information, see Working with Amazon Elastic Inference on Amazon ECS in the Amazon Elastic Container Service Developer Guide.

Attributes

device_name class-attribute instance-attribute
device_name: str | None = ...

The Elastic Inference accelerator device name to override for the task. This parameter must match a deviceName specified in the task definition.

device_type class-attribute instance-attribute
device_type: str | None = ...

The Elastic Inference accelerator type to use.