DeviceProperty Struct
An object representing a container instance host device.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ecs as ecs } from 'aws-cdk-lib';
const deviceProperty: ecs.CfnDaemonTaskDefinition.DeviceProperty = {
containerPath: 'containerPath',
hostPath: 'hostPath',
permissions: ['permissions'],
};
Properties
The path inside the container at which to expose the host device.
The path for the device on the host container instance.
permissionsstring[]permissionstyping.List[str]permissionsList<String>Permissionsstring[]Permissions*[]*string#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.