Class AcceleratorType

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

@Generated(value="jsii-pacmak/1.99.0 (build 8f757e4)", date="2024-06-13T18:49:27.906Z") @Stability(Experimental) public class AcceleratorType extends software.amazon.jsii.JsiiObject
(experimental) Supported Elastic Inference (EI) instance types for SageMaker instance-based production variants.

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.sagemaker.alpha.*;
 AcceleratorType acceleratorType = AcceleratorType.EIA1_LARGE;
 
  • Nested Class Summary

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

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

    Fields
    Modifier and Type
    Field
    Description
    static final AcceleratorType
    (experimental) ml.eia1.large.
    static final AcceleratorType
    (experimental) ml.eia1.medium.
    static final AcceleratorType
    (experimental) ml.eia1.xlarge.
    static final AcceleratorType
    (experimental) ml.eia2.large.
    static final AcceleratorType
    (experimental) ml.eia2.medium.
    static final AcceleratorType
    (experimental) ml.eia2.xlarge.
  • Constructor Summary

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

    Modifier and Type
    Method
    Description
    of(String acceleratorType)
    (experimental) Builds an AcceleratorType from a given string or token (such as a CfnParameter).
    (experimental) Return the accelerator type as a 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
  • Field Details

    • EIA1_LARGE

      @Stability(Experimental) public static final AcceleratorType EIA1_LARGE
      (experimental) ml.eia1.large.
    • EIA1_MEDIUM

      @Stability(Experimental) public static final AcceleratorType EIA1_MEDIUM
      (experimental) ml.eia1.medium.
    • EIA1_XLARGE

      @Stability(Experimental) public static final AcceleratorType EIA1_XLARGE
      (experimental) ml.eia1.xlarge.
    • EIA2_LARGE

      @Stability(Experimental) public static final AcceleratorType EIA2_LARGE
      (experimental) ml.eia2.large.
    • EIA2_MEDIUM

      @Stability(Experimental) public static final AcceleratorType EIA2_MEDIUM
      (experimental) ml.eia2.medium.
    • EIA2_XLARGE

      @Stability(Experimental) public static final AcceleratorType EIA2_XLARGE
      (experimental) ml.eia2.xlarge.
  • Constructor Details

    • AcceleratorType

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

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

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

    • of

      @Stability(Experimental) @NotNull public static AcceleratorType of(@NotNull String acceleratorType)
      (experimental) Builds an AcceleratorType from a given string or token (such as a CfnParameter).

      Parameters:
      acceleratorType - An accelerator type as string. This parameter is required.
      Returns:
      A strongly typed AcceleratorType
    • toString

      @Stability(Experimental) @NotNull public String toString()
      (experimental) Return the accelerator type as a string.

      Overrides:
      toString in class Object
      Returns:
      The accelerator type as a string