Device¶
-
class
aws_cdk.aws_ecs.
Device
(*, host_path, container_path=None, permissions=None)¶ Bases:
object
A container instance host device.
- Parameters
host_path (
str
) – The path for the device on the host container instance.container_path (
Optional
[str
]) – The path inside the container at which to expose the host device. Default: Same path as the hostpermissions (
Optional
[List
[DevicePermission
]]) – 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. Default: Readonly
Attributes
-
container_path
¶ The path inside the container at which to expose the host device.
- Default
Same path as the host
- Return type
Optional
[str
]
-
host_path
¶ The path for the device on the host container instance.
- Return type
str
-
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.
- Default
Readonly
- Return type
Optional
[List
[DevicePermission
]]