Show / Hide Table of Contents

Interface CfnJobDefinition.IDeviceProperty

An object that represents a container instance host device.

Namespace: Amazon.CDK.AWS.Batch
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface CfnJobDefinition.IDeviceProperty
Syntax (vb)
Public Interface CfnJobDefinition.IDeviceProperty
Remarks
This object isn't applicable to jobs that are running on Fargate resources and shouldn't be provided.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-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.Batch;

             var deviceProperty = new DeviceProperty {
                 ContainerPath = "containerPath",
                 HostPath = "hostPath",
                 Permissions = new [] { "permissions" }
             };

Synopsis

Properties

ContainerPath

The path inside the container that's used 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 that's used to expose the host device.

string? ContainerPath { get; }
Property Value

string

Remarks

By default, the hostPath value is used.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-device.html#cfn-batch-jobdefinition-device-containerpath

HostPath

The path for the device on the host container instance.

string? HostPath { get; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-device.html#cfn-batch-jobdefinition-device-hostpath

Permissions

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

string[]? Permissions { get; }
Property Value

string[]

Remarks

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

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-device.html#cfn-batch-jobdefinition-device-permissions

Back to top Generated by DocFX