Interface CfnTaskDefinition.InferenceAcceleratorProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTaskDefinition.InferenceAcceleratorProperty.Jsii$Proxy
- Enclosing class:
- CfnTaskDefinition
@Stability(Stable)
public static interface CfnTaskDefinition.InferenceAcceleratorProperty
extends software.amazon.jsii.JsiiSerializable
Details on an Elastic Inference accelerator.
For more information, see Working with Amazon Elastic Inference on Amazon ECS in the Amazon Elastic Container Service Developer Guide .
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.*; InferenceAcceleratorProperty inferenceAcceleratorProperty = InferenceAcceleratorProperty.builder() .deviceName("deviceName") .deviceType("deviceType") .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnTaskDefinition.InferenceAcceleratorProperty
static final class
An implementation forCfnTaskDefinition.InferenceAcceleratorProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDeviceName
The Elastic Inference accelerator device name.The
deviceName
must also be referenced in a container definition as a ResourceRequirement . -
getDeviceType
The Elastic Inference accelerator type to use. -
builder
-