Class InferenceAccelerator
Elastic Inference Accelerator.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.ECS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class InferenceAccelerator : Object, IInferenceAccelerator
Syntax (vb)
Public Class InferenceAccelerator
Inherits Object
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
Inference |
Properties
Device |
The Elastic Inference accelerator device name. |
Device |
The Elastic Inference accelerator type to use. |
Constructors
InferenceAccelerator()
public InferenceAccelerator()
Properties
DeviceName
The Elastic Inference accelerator device name.
public string DeviceName { get; set; }
Property Value
System.
Remarks
Default: - empty
DeviceType
The Elastic Inference accelerator type to use.
public string DeviceType { get; set; }
Property Value
System.
Remarks
The allowed values are: eia2.medium, eia2.large and eia2.xlarge.
Default: - empty