Interface CfnJobDefinition.EksContainerVolumeMountProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnJobDefinition.EksContainerVolumeMountProperty.Jsii$Proxy
- Enclosing class:
CfnJobDefinition
@Stability(Stable)
public static interface CfnJobDefinition.EksContainerVolumeMountProperty
extends software.amazon.jsii.JsiiSerializable
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 .
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.batch.*; EksContainerVolumeMountProperty eksContainerVolumeMountProperty = EksContainerVolumeMountProperty.builder() .mountPath("mountPath") .name("name") .readOnly(false) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnJobDefinition.EksContainerVolumeMountProperty
static final class
An implementation forCfnJobDefinition.EksContainerVolumeMountProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getMountPath
The path on the container where the volume is mounted.- See Also:
-
getName
The name the volume mount.This must match the name of one of the volumes in the pod.
- See Also:
-
getReadOnly
If this value istrue
, the container has read-only access to the volume.Otherwise, the container can write to the volume. The default value is
false
.- See Also:
-
builder
-