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

The volume mounts for a container for an Amazon EKS job. For more information about volumes and volume mounts in Kubernetes, see Volumes in the Kubernetes documentation.

Syntax

To declare this entity in your Amazon CloudFormation template, use the following syntax:

JSON

{ "MountPath" : String, "Name" : String, "ReadOnly" : Boolean }

YAML

MountPath: String Name: String ReadOnly: Boolean

Properties

MountPath

The path on the container where the volume is mounted.

Required: No

Type: String

Update requires: No interruption

Name

The name the volume mount. This must match the name of one of the volumes in the pod.

Required: No

Type: String

Update requires: No interruption

ReadOnly

If this value is true, the container has read-only access to the volume. Otherwise, the container can write to the volume. The default value is false.

Required: No

Type: Boolean

Update requires: No interruption