Interface CfnLaunchTemplate.AcceleratorCountProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnLaunchTemplate.AcceleratorCountProperty.Jsii$Proxy
- Enclosing class:
CfnLaunchTemplate
@Stability(Stable)
public static interface CfnLaunchTemplate.AcceleratorCountProperty
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.ec2.*;
AcceleratorCountProperty acceleratorCountProperty = AcceleratorCountProperty.builder()
.max(123)
.min(123)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnLaunchTemplate.AcceleratorCountPropertystatic final classAn implementation forCfnLaunchTemplate.AcceleratorCountProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getMax
The maximum number of accelerators.To specify no maximum limit, omit this parameter. To exclude accelerator-enabled instance types, set
Maxto0.- See Also:
-
getMin
The minimum number of accelerators.To specify no minimum limit, omit this parameter.
- See Also:
-
builder
-