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.106.0 (build e852934)",
date="2025-02-06T22:16:05.585Z")
@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
FieldsModifier and TypeFieldDescriptionstatic 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
ConstructorsModifierConstructorDescriptionAcceleratorType
(String acceleratorType) protected
AcceleratorType
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
AcceleratorType
(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionstatic AcceleratorType
(experimental) Builds an AcceleratorType from a given string or token (such as a CfnParameter).toString()
(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
(experimental) ml.eia1.large. -
EIA1_MEDIUM
(experimental) ml.eia1.medium. -
EIA1_XLARGE
(experimental) ml.eia1.xlarge. -
EIA2_LARGE
(experimental) ml.eia2.large. -
EIA2_MEDIUM
(experimental) ml.eia2.medium. -
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
- Parameters:
acceleratorType
- This parameter is required.
-
-
Method Details
-
of
(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
(experimental) Return the accelerator type as a string.
-