Class CfnFleet.AcceleratorSelectionProperty.Builder

java.lang.Object
software.amazon.awscdk.services.deadline.CfnFleet.AcceleratorSelectionProperty.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFleet.AcceleratorSelectionProperty>
Enclosing interface:
CfnFleet.AcceleratorSelectionProperty

@Stability(Stable) public static final class CfnFleet.AcceleratorSelectionProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnFleet.AcceleratorSelectionProperty>
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • name

      @Stability(Stable) public CfnFleet.AcceleratorSelectionProperty.Builder name(String name)
      Parameters:
      name - The name of the chip used by the GPU accelerator. This parameter is required. The available GPU accelerators are:

      • t4 - NVIDIA T4 Tensor Core GPU (16 GiB memory)
      • a10g - NVIDIA A10G Tensor Core GPU (24 GiB memory)
      • l4 - NVIDIA L4 Tensor Core GPU (24 GiB memory)
      • l40s - NVIDIA L40S Tensor Core GPU (48 GiB memory)
      Returns:
      this
    • runtime

      @Stability(Stable) public CfnFleet.AcceleratorSelectionProperty.Builder runtime(String runtime)
      Parameters:
      runtime - Specifies the runtime driver to use for the GPU accelerator. You must use the same runtime for all GPUs in a fleet.

      You can choose from the following runtimes:

      • latest - Use the latest runtime available for the chip. If you specify latest and a new version of the runtime is released, the new version of the runtime is used.
      • grid:r570 - NVIDIA vGPU software 18
      • grid:r535 - NVIDIA vGPU software 16

      If you don't specify a runtime, AWS Deadline Cloud uses latest as the default. However, if you have multiple accelerators and specify latest for some and leave others blank, AWS Deadline Cloud raises an exception.

      Not all runtimes are compatible with all accelerator types:

      • t4 and a10g : Support all runtimes ( grid:r570 , grid:r535 )
      • l4 and l40s : Only support grid:r570 and newer

      All accelerators in a fleet must use the same runtime version. You cannot mix different runtime versions within a single fleet. > When you specify latest , it resolves to grid:r570 for all currently supported accelerators.

      Returns:
      this
    • build

      @Stability(Stable) public CfnFleet.AcceleratorSelectionProperty build()
      Builds the configured instance.
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnFleet.AcceleratorSelectionProperty>
      Returns:
      a new instance of CfnFleet.AcceleratorSelectionProperty
      Throws:
      NullPointerException - if any required attribute was not provided