AWS::Batch::JobDefinition Device - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

AWS::Batch::JobDefinition 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.

Syntax

To declare this entity in your Amazon 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 that's used 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: Array of String

Update requires: No interruption