Show / Hide Table of Contents

Class CfnTaskDefinition.InferenceAcceleratorProperty

Details on an Elastic Inference accelerator.

Inheritance
System.Object
CfnTaskDefinition.InferenceAcceleratorProperty
Implements
CfnTaskDefinition.IInferenceAcceleratorProperty
Namespace: Amazon.CDK.AWS.ECS
Assembly: Amazon.CDK.AWS.ECS.dll
Syntax (csharp)
public class InferenceAcceleratorProperty : Object, CfnTaskDefinition.IInferenceAcceleratorProperty
Syntax (vb)
Public Class InferenceAcceleratorProperty
    Inherits Object
    Implements CfnTaskDefinition.IInferenceAcceleratorProperty
Remarks

For more information, see Working with Amazon Elastic Inference on Amazon ECS in the Amazon Elastic Container Service Developer Guide .

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-inferenceaccelerator.html

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

Constructors

InferenceAcceleratorProperty()

Properties

DeviceName

The Elastic Inference accelerator device name.

DeviceType

The Elastic Inference accelerator type to use.

Constructors

InferenceAcceleratorProperty()

public InferenceAcceleratorProperty()

Properties

DeviceName

The Elastic Inference accelerator device name.

public string DeviceName { get; set; }
Property Value

System.String

Remarks

The deviceName must also be referenced in a container definition as a ResourceRequirement .

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-inferenceaccelerator.html#cfn-ecs-taskdefinition-inferenceaccelerator-devicename

DeviceType

The Elastic Inference accelerator type to use.

public string DeviceType { get; set; }
Property Value

System.String

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-inferenceaccelerator.html#cfn-ecs-taskdefinition-inferenceaccelerator-devicetype

Implements

CfnTaskDefinition.IInferenceAcceleratorProperty
Back to top Generated by DocFX