This is the new AWS CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.
AWS::ECS::TaskDefinition Device
The Device property specifies an object representing a container instance
host device.
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 at which to expose the host device.
Required: No
Type: String
Update requires: Replacement
HostPath-
The path for the device on the host container instance.
Required: No
Type: String
Update requires: Replacement
Permissions-
The explicit permissions to provide to the container for the device. By default, the container has permissions for
read,write, andmknodfor the device.Required: No
Type: Array of String
Update requires: Replacement