AWS CloudFormation
User Guide (API Version 2010-05-15)

Amazon Elastic Container Service TaskDefinition Device

The Device property type specifies a device on a host container instance.

The Devices property of the LinuxParameters contains a list of Device property types.


To declare this entity in your AWS CloudFormation template, use the following syntax:


{ "ContainerPath" : String, "HostPath" : String, "Permissions" : [ String, ... ] }


ContainerPath: String HostPath: String Permissions: - String



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

Required: No

Type: String

Update requires: Replacement


The path for the device on the host container instance.

Required: Yes

Type: String

Update requires: Replacement


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

Required: No

Type: List of String values

Valid values: read, write, and mknod

Update requires: Replacement

On this page: