Interface CfnSpotFleet.AcceleratorCountRequestProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnSpotFleet.AcceleratorCountRequestProperty.Jsii$Proxy
Enclosing class:
CfnSpotFleet

@Stability(Stable) public static interface CfnSpotFleet.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: