Interface CfnEC2Fleet.AcceleratorCountRequestProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnEC2Fleet.AcceleratorCountRequestProperty.Jsii$Proxy
- Enclosing class:
CfnEC2Fleet
@Stability(Stable)
public static interface CfnEC2Fleet.AcceleratorCountRequestProperty
extends software.amazon.jsii.JsiiSerializable
The minimum and maximum number of accelerators (GPUs, FPGAs, or AWS Inferentia chips) on an instance.
To exclude accelerator-enabled instance types, set Max to 0 .
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.*;
AcceleratorCountRequestProperty acceleratorCountRequestProperty = AcceleratorCountRequestProperty.builder()
.max(123)
.min(123)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnEC2Fleet.AcceleratorCountRequestPropertystatic final classAn implementation forCfnEC2Fleet.AcceleratorCountRequestProperty -
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
-