-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnLaunchTemplate_LaunchTemplateElasticInferenceAcceleratorProperty.go
34 lines (31 loc) · 1.67 KB
/
CfnLaunchTemplate_LaunchTemplateElasticInferenceAcceleratorProperty.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
package awsec2
// Specifies an elastic inference accelerator.
//
// `LaunchTemplateElasticInferenceAccelerator` is a property of [AWS::EC2::LaunchTemplate LaunchTemplateData](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata.html) .
//
// Example:
// // The code below shows an example of how to instantiate this type.
// // The values are placeholders you should change.
// import "github.com/aws/aws-cdk-go/awscdk"
//
// launchTemplateElasticInferenceAcceleratorProperty := &LaunchTemplateElasticInferenceAcceleratorProperty{
// Count: jsii.Number(123),
// Type: jsii.String("type"),
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplateelasticinferenceaccelerator.html
//
type CfnLaunchTemplate_LaunchTemplateElasticInferenceAcceleratorProperty struct {
// The number of elastic inference accelerators to attach to the instance.
//
// Default: 1.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplateelasticinferenceaccelerator.html#cfn-ec2-launchtemplate-launchtemplateelasticinferenceaccelerator-count
//
Count *float64 `field:"optional" json:"count" yaml:"count"`
// The type of elastic inference accelerator.
//
// The possible values are eia1.medium, eia1.large, and eia1.xlarge.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplateelasticinferenceaccelerator.html#cfn-ec2-launchtemplate-launchtemplateelasticinferenceaccelerator-type
//
Type *string `field:"optional" json:"type" yaml:"type"`
}