Interface CfnFleet.AcceleratorCapabilitiesProperty

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

@Stability(Stable) public static interface CfnFleet.AcceleratorCapabilitiesProperty extends software.amazon.jsii.JsiiSerializable
Provides information about the GPU accelerators used for jobs processed by a fleet.

Accelerator capabilities cannot be used with wait-and-save fleets. If you specify accelerator capabilities, you must use either spot or on-demand instance market options. > Each accelerator type maps to specific EC2 instance families:

  • t4 : Uses G4dn instance family
  • a10g : Uses G5 instance family
  • l4 : Uses G6 and Gr6 instance families
  • l40s : Uses G6e instance family

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.deadline.*;
 AcceleratorCapabilitiesProperty acceleratorCapabilitiesProperty = AcceleratorCapabilitiesProperty.builder()
         .selections(List.of(AcceleratorSelectionProperty.builder()
                 .name("name")
                 // the properties below are optional
                 .runtime("runtime")
                 .build()))
         // the properties below are optional
         .count(AcceleratorCountRangeProperty.builder()
                 .min(123)
                 // the properties below are optional
                 .max(123)
                 .build())
         .build();
 

See Also: