AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

An object that represents a container instance host device.

This object isn't applicable to jobs that are running on Fargate resources and shouldn't be provided.

Inheritance Hierarchy

System.Object
  Amazon.Batch.Model.Device

Namespace: Amazon.Batch.Model
Assembly: AWSSDK.Batch.dll
Version: 3.x.y.z

Syntax

C#
public class Device

The Device type exposes the following members

Constructors

NameDescription
Public Method Device()

Properties

NameTypeDescription
Public Property ContainerPath System.String

Gets and sets the property ContainerPath.

The path inside the container that's used to expose the host device. By default, the hostPath value is used.

Public Property HostPath System.String

Gets and sets the property HostPath.

The path for the device on the host container instance.

Public Property Permissions System.Collections.Generic.List<System.String>

Gets and sets the property Permissions.

The explicit permissions to provide to the container for the device. By default, the container has permissions for read, write, and mknod for the device.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5