Interface CfnPipe.IEcsInferenceAcceleratorOverrideProperty
Details on an Elastic Inference accelerator task override.
Namespace: Amazon.CDK.AWS.Pipes
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IEcsInferenceAcceleratorOverrideProperty
Syntax (vb)
Public Interface IEcsInferenceAcceleratorOverrideProperty
Remarks
This parameter is used to override the Elastic Inference accelerator specified in the task definition. 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.Pipes;
var ecsInferenceAcceleratorOverrideProperty = new EcsInferenceAcceleratorOverrideProperty {
DeviceName = "deviceName",
DeviceType = "deviceType"
};
Synopsis
Properties
DeviceName | The Elastic Inference accelerator device name to override for the task. |
DeviceType | The Elastic Inference accelerator type to use. |
Properties
DeviceName
The Elastic Inference accelerator device name to override for the task.
virtual string DeviceName { get; }
Property Value
System.String
Remarks
This parameter must match a deviceName
specified in the task definition.
DeviceType
The Elastic Inference accelerator type to use.
virtual string DeviceType { get; }
Property Value
System.String