aws-cdk-lib.aws_ec2.CfnInstance.ElasticInferenceAcceleratorProperty

interface ElasticInferenceAcceleratorProperty

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

Specifies the Elastic Inference Accelerator for the instance.

ElasticInferenceAccelerator is a property of the AWS::EC2::Instance resource.

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 elasticInferenceAcceleratorProperty: ec2.CfnInstance.ElasticInferenceAcceleratorProperty = {
  type: 'type',

  // the properties below are optional
  count: 123,
};

Properties

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

type

Type: string

The type of elastic inference accelerator.

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


count?

Type: number (optional)

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