Struct aws_sdk_ecs::types::Device
source · #[non_exhaustive]pub struct Device { /* private fields */ }Expand description
An object representing a container instance host device.
Implementations§
source§impl Device
impl Device
sourcepub fn host_path(&self) -> Option<&str>
pub fn host_path(&self) -> Option<&str>
The path for the device on the host container instance.
sourcepub fn container_path(&self) -> Option<&str>
pub fn container_path(&self) -> Option<&str>
The path inside the container at which to expose the host device.
sourcepub fn permissions(&self) -> Option<&[DeviceCgroupPermission]>
pub fn permissions(&self) -> Option<&[DeviceCgroupPermission]>
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.