-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnLaunchTemplate_AcceleratorCountProperty.go
32 lines (29 loc) · 1.32 KB
/
CfnLaunchTemplate_AcceleratorCountProperty.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
package awsec2
// The minimum and maximum number of accelerators (GPUs, FPGAs, or AWS Inferentia chips) on an instance.
//
// 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"
//
// acceleratorCountProperty := &AcceleratorCountProperty{
// Max: jsii.Number(123),
// Min: jsii.Number(123),
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-acceleratorcount.html
//
type CfnLaunchTemplate_AcceleratorCountProperty struct {
// The maximum number of accelerators.
//
// To specify no maximum limit, omit this parameter. To exclude accelerator-enabled instance types, set `Max` to `0` .
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-acceleratorcount.html#cfn-ec2-launchtemplate-acceleratorcount-max
//
Max *float64 `field:"optional" json:"max" yaml:"max"`
// The minimum number of accelerators.
//
// To specify no minimum limit, omit this parameter.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-acceleratorcount.html#cfn-ec2-launchtemplate-acceleratorcount-min
//
Min *float64 `field:"optional" json:"min" yaml:"min"`
}