interface ElasticInferenceAcceleratorProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.EC2.Mixins.CfnInstancePropsMixin.ElasticInferenceAcceleratorProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsec2/mixins#CfnInstancePropsMixin_ElasticInferenceAcceleratorProperty |
Java | software.amazon.awscdk.mixins.preview.services.ec2.mixins.CfnInstancePropsMixin.ElasticInferenceAcceleratorProperty |
Python | aws_cdk.mixins_preview.aws_ec2.mixins.CfnInstancePropsMixin.ElasticInferenceAcceleratorProperty |
TypeScript | @aws-cdk/mixins-preview » aws_ec2 » mixins » CfnInstancePropsMixin » ElasticInferenceAcceleratorProperty |
Amazon Elastic Inference is no longer available.
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 { mixins as ec2_mixins } from '@aws-cdk/mixins-preview/aws-ec2';
const elasticInferenceAcceleratorProperty: ec2_mixins.CfnInstancePropsMixin.ElasticInferenceAcceleratorProperty = {
count: 123,
type: 'type',
};
Properties
| Name | Type | Description |
|---|---|---|
| count? | number | The number of elastic inference accelerators to attach to the instance. |
| type? | string | The type of elastic inference accelerator. |
count?
Type:
number
(optional)
The number of elastic inference accelerators to attach to the instance.
type?
Type:
string
(optional)
The type of elastic inference accelerator.
The possible values are eia1.medium , eia1.large , eia1.xlarge , eia2.medium , eia2.large , and eia2.xlarge .

.NET
Go
Java
Python
TypeScript