InferenceAccelerator
- class aws_cdk.aws_ecs.InferenceAccelerator(*, device_name=None, device_type=None)
Bases:
object
Elastic Inference Accelerator.
For more information, see Elastic Inference Basics
- Parameters:
device_name (
Optional
[str
]) – The Elastic Inference accelerator device name. Default: - emptydevice_type (
Optional
[str
]) – The Elastic Inference accelerator type to use. The allowed values are: eia2.medium, eia2.large and eia2.xlarge. Default: - empty
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_ecs as ecs inference_accelerator = ecs.InferenceAccelerator( device_name="deviceName", device_type="deviceType" )
Attributes
- device_name
The Elastic Inference accelerator device name.
- Default:
empty
- device_type
The Elastic Inference accelerator type to use.
The allowed values are: eia2.medium, eia2.large and eia2.xlarge.
- Default:
empty