Device - AWS Batch

Device

An object that represents a container instance host device.

Note

This object isn't applicable to jobs that are running on Fargate resources and shouldn't be provided.

Contents

hostPath

The path for the device on the host container instance.

Type: String

Required: Yes

containerPath

The path inside the container that's used to expose the host device. By default, the hostPath value is used.

Type: String

Required: No

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.

Type: Array of strings

Valid Values: READ | WRITE | MKNOD

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: