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 representing a container instance host device.

Inheritance Hierarchy

System.Object
  Amazon.ECS.Model.Device

Namespace: Amazon.ECS.Model
Assembly: AWSSDK.ECS.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 at which to expose the host device.

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 Standard:
Supported in: 1.3

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

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms