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();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnEC2Fleet.AcceleratorCountRequestProperty
static final class
An 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
Max
to0
. -
getMin
The minimum number of accelerators.To specify no minimum limit, omit this parameter.
-
builder
-