Class CfnPipe.EcsInferenceAcceleratorOverrideProperty
Details on an Elastic Inference accelerator task override.
Inheritance
System.Object
CfnPipe.EcsInferenceAcceleratorOverrideProperty
Namespace: Amazon.CDK.AWS.Pipes
Assembly: Amazon.CDK.AWS.Pipes.dll
Syntax (csharp)
public class EcsInferenceAcceleratorOverrideProperty : Object, CfnPipe.IEcsInferenceAcceleratorOverrideProperty
Syntax (vb)
Public Class EcsInferenceAcceleratorOverrideProperty
Inherits Object
Implements CfnPipe.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
Constructors
EcsInferenceAcceleratorOverrideProperty() |
Properties
DeviceName | The Elastic Inference accelerator device name to override for the task. |
DeviceType | The Elastic Inference accelerator type to use. |
Constructors
EcsInferenceAcceleratorOverrideProperty()
public EcsInferenceAcceleratorOverrideProperty()
Properties
DeviceName
The Elastic Inference accelerator device name to override for the task.
public string DeviceName { get; set; }
Property Value
System.String
Remarks
This parameter must match a deviceName
specified in the task definition.
DeviceType
The Elastic Inference accelerator type to use.
public string DeviceType { get; set; }
Property Value
System.String