@Generated(value="jsii-pacmak/1.72.0 (build 4b8828b)", date="2022-12-27T20:28:49.139Z") @Stability(value=Stable) public class AcceleratorType extends software.amazon.jsii.JsiiObject
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");
| Modifier | Constructor and Description |
|---|---|
protected |
AcceleratorType(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
AcceleratorType(software.amazon.jsii.JsiiObjectRef objRef) |
|
AcceleratorType(String instanceTypeIdentifier) |
| Modifier and Type | Method and Description |
|---|---|
static AcceleratorType |
of(AcceleratorClass acceleratorClass,
InstanceSize instanceSize)
AcceleratorType.
|
String |
toString()
Return the accelerator type as a dotted string.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected AcceleratorType(software.amazon.jsii.JsiiObjectRef objRef)
protected AcceleratorType(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public AcceleratorType(@NotNull
String instanceTypeIdentifier)
instanceTypeIdentifier - This parameter is required.@Stability(value=Stable) @NotNull public static AcceleratorType of(@NotNull AcceleratorClass acceleratorClass, @NotNull InstanceSize instanceSize)
This class takes a combination of a class and size.
acceleratorClass - This parameter is required.instanceSize - This parameter is required.Copyright © 2022. All rights reserved.