Class InferenceAccelerator
Elastic Inference Accelerator.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.ECS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class InferenceAccelerator : IInferenceAccelerator
Syntax (vb)
Public Class InferenceAccelerator Implements IInferenceAccelerator
Remarks
For more information, see Elastic Inference Basics
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.ECS;
var inferenceAccelerator = new InferenceAccelerator {
DeviceName = "deviceName",
DeviceType = "deviceType"
};
Synopsis
Constructors
InferenceAccelerator() | Elastic Inference Accelerator. |
Properties
DeviceName | The Elastic Inference accelerator device name. |
DeviceType | The Elastic Inference accelerator type to use. |
Constructors
InferenceAccelerator()
Elastic Inference Accelerator.
public InferenceAccelerator()
Remarks
For more information, see Elastic Inference Basics
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.ECS;
var inferenceAccelerator = new InferenceAccelerator {
DeviceName = "deviceName",
DeviceType = "deviceType"
};
Properties
DeviceName
The Elastic Inference accelerator device name.
public string? DeviceName { get; set; }
Property Value
Remarks
Default: - empty
DeviceType
The Elastic Inference accelerator type to use.
public string? DeviceType { get; set; }
Property Value
Remarks
The allowed values are: eia2.medium, eia2.large and eia2.xlarge.
Default: - empty