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();