Interface InferenceAccelerator
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
InferenceAccelerator.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-15T10:24:58.834Z")
@Stability(Stable)
public interface InferenceAccelerator
extends software.amazon.jsii.JsiiSerializable
Elastic Inference Accelerator.
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();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forInferenceAccelerator
static final class
An implementation forInferenceAccelerator
-
Method Summary
Modifier and TypeMethodDescriptionstatic InferenceAccelerator.Builder
builder()
default String
The Elastic Inference accelerator device name.default String
The Elastic Inference accelerator type to use.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDeviceName
The Elastic Inference accelerator device name.Default: - empty
-
getDeviceType
The Elastic Inference accelerator type to use.The allowed values are: eia2.medium, eia2.large and eia2.xlarge.
Default: - empty
-
builder
- Returns:
- a
InferenceAccelerator.Builder
ofInferenceAccelerator
-