aws-cdk-lib.aws_ec2.CfnLaunchTemplate.LaunchTemplateElasticInferenceAcceleratorProperty

interface LaunchTemplateElasticInferenceAcceleratorProperty

LanguageType name
.NETAmazon.CDK.AWS.EC2.CfnLaunchTemplate.LaunchTemplateElasticInferenceAcceleratorProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsec2#CfnLaunchTemplate_LaunchTemplateElasticInferenceAcceleratorProperty
Javasoftware.amazon.awscdk.services.ec2.CfnLaunchTemplate.LaunchTemplateElasticInferenceAcceleratorProperty
Pythonaws_cdk.aws_ec2.CfnLaunchTemplate.LaunchTemplateElasticInferenceAcceleratorProperty
TypeScript aws-cdk-lib » aws_ec2 » CfnLaunchTemplate » LaunchTemplateElasticInferenceAcceleratorProperty

Specifies an elastic inference accelerator.

LaunchTemplateElasticInferenceAccelerator is a property of AWS::EC2::LaunchTemplate LaunchTemplateData .

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ec2 as ec2 } from 'aws-cdk-lib';
const launchTemplateElasticInferenceAcceleratorProperty: ec2.CfnLaunchTemplate.LaunchTemplateElasticInferenceAcceleratorProperty = {
  count: 123,
  type: 'type',
};

Properties

NameTypeDescription
count?numberThe number of elastic inference accelerators to attach to the instance.
type?stringThe type of elastic inference accelerator.

count?

Type: number (optional)

The number of elastic inference accelerators to attach to the instance.

Default: 1


type?

Type: string (optional)

The type of elastic inference accelerator.

The possible values are eia1.medium, eia1.large, and eia1.xlarge.