@Generated(value="jsii-pacmak/1.58.0 (build f8ba112)",
date="2022-05-13T01:13:38.956Z")
public interface InferenceAccelerator
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 java.lang.String |
getDeviceName()
The Elastic Inference accelerator device name.
|
default java.lang.String |
getDeviceType()
The Elastic Inference accelerator type to use.
|
default java.lang.String getDeviceName()
Default: - empty
default java.lang.String getDeviceType()
The allowed values are: eia2.medium, eia2.large and eia2.xlarge.
Default: - empty
static InferenceAccelerator.Builder builder()
InferenceAccelerator.Builder
of InferenceAccelerator