aws-cdk-lib.aws_ecs.CfnTaskDefinition.InferenceAcceleratorProperty

interface InferenceAcceleratorProperty

LanguageType name
.NETAmazon.CDK.AWS.ECS.CfnTaskDefinition.InferenceAcceleratorProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsecs#CfnTaskDefinition_InferenceAcceleratorProperty
Javasoftware.amazon.awscdk.services.ecs.CfnTaskDefinition.InferenceAcceleratorProperty
Pythonaws_cdk.aws_ecs.CfnTaskDefinition.InferenceAcceleratorProperty
TypeScript 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

NameTypeDescription
deviceName?stringThe Elastic Inference accelerator device name.
deviceType?stringThe 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.