interface InferenceAccelerator
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.ECS.InferenceAccelerator |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsecs#InferenceAccelerator |
Java | software.amazon.awscdk.services.ecs.InferenceAccelerator |
Python | aws_cdk.aws_ecs.InferenceAccelerator |
TypeScript (source) | aws-cdk-lib » aws_ecs » InferenceAccelerator |
Elastic Inference Accelerator.
For more information, see Elastic Inference Basics
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ecs as ecs } from 'aws-cdk-lib';
const inferenceAccelerator: ecs.InferenceAccelerator = {
deviceName: 'deviceName',
deviceType: 'deviceType',
};
Properties
Name | Type | Description |
---|---|---|
device | string | The Elastic Inference accelerator device name. |
device | string | The Elastic Inference accelerator type to use. |
deviceName?
Type:
string
(optional, default: empty)
The Elastic Inference accelerator device name.
deviceType?
Type:
string
(optional, default: empty)
The Elastic Inference accelerator type to use.
The allowed values are: eia2.medium, eia2.large and eia2.xlarge.