AWS CloudFormation
User Guide (Version )

AWS::Batch::JobDefinition Device

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: String HostPath: String Permissions: - String

Properties

ContainerPath

The path inside the container at which to expose the host device. By default the hostPath value is used.

Required: No

Type: String

Update requires: No interruption

HostPath

The path for the device on the host container instance.

Required: No

Type: String

Update requires: No interruption

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.

Required: No

Type: List of String

Update requires: No interruption

On this page: