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

Specifies an Amazon EKS volume for a job definition.

Syntax

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

JSON

{ "EmptyDir" : EksEmptyDir, "HostPath" : EksHostPath, "Name" : String, "Secret" : EksSecret }

Properties

EmptyDir

Specifies the configuration of a Kubernetes emptyDir volume. For more information, see emptyDir in the Kubernetes documentation.

Required: No

Type: EksEmptyDir

Update requires: No interruption

HostPath

Specifies the configuration of a Kubernetes hostPath volume. For more information, see hostPath in the Kubernetes documentation.

Required: No

Type: EksHostPath

Update requires: No interruption

Name

The name of the volume. The name must be allowed as a DNS subdomain name. For more information, see DNS subdomain names in the Kubernetes documentation.

Required: Yes

Type: String

Update requires: No interruption

Secret

Specifies the configuration of a Kubernetes secret volume. For more information, see secret in the Kubernetes documentation.

Required: No

Type: EksSecret

Update requires: No interruption