interface InferenceAcceleratorProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.ECS.CfnTaskDefinition.InferenceAcceleratorProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsecs#CfnTaskDefinition_InferenceAcceleratorProperty |
![]() | software.amazon.awscdk.services.ecs.CfnTaskDefinition.InferenceAcceleratorProperty |
![]() | aws_cdk.aws_ecs.CfnTaskDefinition.InferenceAcceleratorProperty |
![]() | aws-cdk-lib » aws_ecs » CfnTaskDefinition » InferenceAcceleratorProperty |
Details on an Elastic Inference accelerator.
For more information, see Working with Amazon Elastic Inference on Amazon ECS in the Amazon Elastic Container Service Developer Guide .
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 inferenceAcceleratorProperty: ecs.CfnTaskDefinition.InferenceAcceleratorProperty = {
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)
The Elastic Inference accelerator device name.
The deviceName
must also be referenced in a container definition as a ResourceRequirement .
deviceType?
Type:
string
(optional)
The Elastic Inference accelerator type to use.