@Generated(value="jsii-pacmak/1.50.0 (build d1830a4)", date="2022-01-04T15:39:07.872Z") @Stability(value=Experimental) public interface InferenceAccelerator extends software.amazon.jsii.JsiiSerializable
For more information, see Elastic Inference Basics
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.ecs.*;
InferenceAccelerator inferenceAccelerator = InferenceAccelerator.builder()
.deviceName("deviceName")
.deviceType("deviceType")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
InferenceAccelerator.Builder
A builder for
InferenceAccelerator |
static class |
InferenceAccelerator.Jsii$Proxy
An implementation for
InferenceAccelerator |
| Modifier and Type | Method and Description |
|---|---|
static InferenceAccelerator.Builder |
builder() |
default String |
getDeviceName()
(experimental) The Elastic Inference accelerator device name.
|
default String |
getDeviceType()
(experimental) The Elastic Inference accelerator type to use.
|
@Stability(value=Experimental) @Nullable default String getDeviceName()
Default: - empty
@Stability(value=Experimental) @Nullable default String getDeviceType()
The allowed values are: eia2.medium, eia2.large and eia2.xlarge.
Default: - empty
@Stability(value=Experimental) static InferenceAccelerator.Builder builder()
InferenceAccelerator.Builder of InferenceAcceleratorCopyright © 2022. All rights reserved.