interface LaunchTemplateElasticInferenceAcceleratorProperty
This page is available in another version. Click here for the v2 documentation.
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.EC2.CfnLaunchTemplate.LaunchTemplateElasticInferenceAcceleratorProperty |
![]() | software.amazon.awscdk.services.ec2.CfnLaunchTemplate.LaunchTemplateElasticInferenceAcceleratorProperty |
![]() | aws_cdk.aws_ec2.CfnLaunchTemplate.LaunchTemplateElasticInferenceAcceleratorProperty |
![]() | @aws-cdk/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 * as ec2 from '@aws-cdk/aws-ec2';
const launchTemplateElasticInferenceAcceleratorProperty: ec2.CfnLaunchTemplate.LaunchTemplateElasticInferenceAcceleratorProperty = {
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.
Default: 1
type?
Type:
string
(optional)
The type of elastic inference accelerator.
The possible values are eia1.medium, eia1.large, and eia1.xlarge.