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.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "ContainerPath" :String, "HostPath" :String, "Permissions" : [String, ... ] }
YAML
ContainerPath:StringHostPath:StringPermissions: -String
Properties
ContainerPath-
The path inside the container to expose the host device to.
Required: No
Type: String
Update requires: Replacement
HostPath-
The path for the device on the host container instance.
Required: Yes
Type: String
Update requires: Replacement
Permissions-
The explicit permissions to provide to the container for the device. By default, the container is able to
read,write, andmknodthe device.Required: No
Type: List of String values
Valid values:
read,write, andmknodUpdate requires: Replacement
