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
, "Secret" :EksSecret
}
YAML
EmptyDir:
EksEmptyDir
HostPath:EksHostPath
Name:String
Secret:EksSecret
Properties
EmptyDir
-
Specifies the configuration of a Kubernetes
emptyDir
volume. For more information, see emptyDirin the Kubernetes documentation. Required: No
Type: EksEmptyDir
Update requires: No interruption
HostPath
-
Specifies the configuration of a Kubernetes
hostPath
volume. 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
Secret
-
Specifies the configuration of a Kubernetes
secret
volume. For more information, see secretin the Kubernetes documentation. Required: No
Type: EksSecret
Update requires: No interruption