Show / Hide Table of Contents

Interface CfnTaskDefinition.IDeviceProperty

The Device property specifies an object representing a container instance host device.

Namespace: Amazon.CDK.AWS.ECS
Assembly: Amazon.CDK.AWS.ECS.dll
Syntax (csharp)
public interface IDeviceProperty
Syntax (vb)
Public Interface IDeviceProperty
Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-device.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 deviceProperty = new DeviceProperty {
    ContainerPath = "containerPath",
    HostPath = "hostPath",
    Permissions = new [] { "permissions" }
};

Synopsis

Properties

ContainerPath

The path inside the container at which to expose the host device.

HostPath

The path for the device on the host container instance.

Permissions

The explicit permissions to provide to the container for the device.

Properties

ContainerPath

The path inside the container at which to expose the host device.

virtual string ContainerPath { get; }
Property Value

System.String

Remarks

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

HostPath

The path for the device on the host container instance.

virtual string HostPath { get; }
Property Value

System.String

Remarks

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

Permissions

The explicit permissions to provide to the container for the device.

virtual string[] Permissions { get; }
Property Value

System.String[]

Remarks

By default, the container has permissions for read , write , and mknod for the device.

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

Back to top Generated by DocFX