Interface CfnJobDefinition.MountPointsProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnJobDefinition.MountPointsProperty.Jsii$Proxy
- Enclosing class:
CfnJobDefinition
@Stability(Stable)
public static interface CfnJobDefinition.MountPointsProperty
extends software.amazon.jsii.JsiiSerializable
Details for a Docker volume mount point that's used in a job's container properties.
This parameter maps to Volumes
in the Create a container section of the Docker Remote API and the --volume
option to docker run.
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.*; MountPointsProperty mountPointsProperty = MountPointsProperty.builder() .containerPath("containerPath") .readOnly(false) .sourceVolume("sourceVolume") .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnJobDefinition.MountPointsProperty
static final class
An implementation forCfnJobDefinition.MountPointsProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getContainerPath
The path on the container where the host volume is mounted.- 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:
-
getSourceVolume
The name of the volume to mount.- See Also:
-
builder
-