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();
 
  • Method Details

    • getDeviceName

      @Stability(Stable) @Nullable default String getDeviceName()
      The Elastic Inference accelerator device name.

      Default: - empty

    • getDeviceType

      @Stability(Stable) @Nullable default String getDeviceType()
      The Elastic Inference accelerator type to use.

      The allowed values are: eia2.medium, eia2.large and eia2.xlarge.

      Default: - empty

    • builder

      @Stability(Stable) static InferenceAccelerator.Builder builder()
      Returns:
      a InferenceAccelerator.Builder of InferenceAccelerator