Interface InferenceAccelerator
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
InferenceAccelerator.Jsii$Proxy
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-29T11:15:39.239Z")
@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
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forInferenceAcceleratorstatic final classAn implementation forInferenceAccelerator -
Method Summary
Modifier and TypeMethodDescriptionstatic InferenceAccelerator.Builderbuilder()default StringThe Elastic Inference accelerator device name.default StringThe 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.BuilderofInferenceAccelerator
-