java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.stepfunctions.tasks.AcceleratorType
All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:47.841Z") @Stability(Stable) public class AcceleratorType extends software.amazon.jsii.JsiiObject
The size of the Elastic Inference (EI) instance to use for the production variant.

EI instances provide on-demand GPU computing for inference

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.stepfunctions.tasks.*;
 AcceleratorType acceleratorType = new AcceleratorType("instanceTypeIdentifier");
 

See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

    software.amazon.jsii.JsiiObject.InitializationMode
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
     
    AcceleratorType(String instanceTypeIdentifier)
     
    protected
    AcceleratorType(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
     
    protected
    AcceleratorType(software.amazon.jsii.JsiiObjectRef objRef)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    of(AcceleratorClass acceleratorClass, InstanceSize instanceSize)
    AcceleratorType.
    Return the accelerator type as a dotted string.

    Methods inherited from class software.amazon.jsii.JsiiObject

    jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface software.amazon.jsii.JsiiSerializable

    $jsii$toJson
  • Constructor Details

    • AcceleratorType

      protected AcceleratorType(software.amazon.jsii.JsiiObjectRef objRef)
    • AcceleratorType

      protected AcceleratorType(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • AcceleratorType

      @Stability(Stable) public AcceleratorType(@NotNull String instanceTypeIdentifier)
      Parameters:
      instanceTypeIdentifier - This parameter is required.
  • Method Details

    • of

      @Stability(Stable) @NotNull public static AcceleratorType of(@NotNull AcceleratorClass acceleratorClass, @NotNull InstanceSize instanceSize)
      AcceleratorType.

      This class takes a combination of a class and size.

      Parameters:
      acceleratorClass - This parameter is required.
      instanceSize - This parameter is required.
    • toString

      @Stability(Stable) @NotNull public String toString()
      Return the accelerator type as a dotted string.
      Overrides:
      toString in class Object