This is the new AWS CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.
AWS::Batch::JobDefinition EksVolume
Specifies an Amazon EKS volume for a job definition.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "EmptyDir" :EksEmptyDir, "HostPath" :EksHostPath, "Name" :String, "PersistentVolumeClaim" :EksPersistentVolumeClaim, "Secret" :EksSecret}
YAML
EmptyDir:EksEmptyDirHostPath:EksHostPathName:StringPersistentVolumeClaim:EksPersistentVolumeClaimSecret:EksSecret
Properties
- EmptyDir
- 
                    Specifies the configuration of a Kubernetes emptyDirvolume. For more information, see emptyDirin the Kubernetes documentation. Required: No Type: EksEmptyDir Update requires: No interruption 
- HostPath
- 
                    Specifies the configuration of a Kubernetes hostPathvolume. For more information, see hostPathin 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 
- PersistentVolumeClaim
- 
                    Specifies the configuration of a Kubernetes persistentVolumeClaimbounded to apersistentVolume. For more information, see Persistent Volume Claimsin the Kubernetes documentation. Required: No Type: EksPersistentVolumeClaim Update requires: No interruption 
- Secret
- 
                    Specifies the configuration of a Kubernetes secretvolume. For more information, see secretin the Kubernetes documentation. Required: No Type: EksSecret Update requires: No interruption