@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:38.732Z") @Stability(value=Stable) 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()
The Elastic Inference accelerator device name.
|
default String |
getDeviceType()
The Elastic Inference accelerator type to use.
|
@Stability(value=Stable) @Nullable default String getDeviceName()
Default: - empty
@Stability(value=Stable) @Nullable default String getDeviceType()
The allowed values are: eia2.medium, eia2.large and eia2.xlarge.
Default: - empty
@Stability(value=Stable) static InferenceAccelerator.Builder builder()
InferenceAccelerator.Builder of InferenceAcceleratorCopyright © 2022. All rights reserved.