Interface CfnTaskDefinition.IInferenceAcceleratorProperty
Details on an Elastic Inference accelerator.
Namespace: Amazon.CDK.AWS.ECS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IInferenceAcceleratorProperty
Syntax (vb)
Public Interface IInferenceAcceleratorProperty
Remarks
For more information, see Working with Amazon Elastic Inference on Amazon ECS in the Amazon Elastic Container Service Developer Guide .
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 inferenceAcceleratorProperty = new InferenceAcceleratorProperty {
DeviceName = "deviceName",
DeviceType = "deviceType"
};
Synopsis
Properties
DeviceName | The Elastic Inference accelerator device name. |
DeviceType | The Elastic Inference accelerator type to use. |
Properties
DeviceName
The Elastic Inference accelerator device name.
virtual string DeviceName { get; }
Property Value
System.String
Remarks
The deviceName
must also be referenced in a container definition as a ResourceRequirement .
DeviceType
The Elastic Inference accelerator type to use.
virtual string DeviceType { get; }
Property Value
System.String