Interface MountPoint
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
MountPoint.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:47.421Z")
@Stability(Stable)
public interface MountPoint
extends software.amazon.jsii.JsiiSerializable
The details of data volume mount points for a container.
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.ecs.*; MountPoint mountPoint = MountPoint.builder() .containerPath("containerPath") .readOnly(false) .sourceVolume("sourceVolume") .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forMountPoint
static final class
An implementation forMountPoint
-
Method Summary
Modifier and TypeMethodDescriptionstatic MountPoint.Builder
builder()
The path on the container to mount the host volume at.Specifies whether to give the container read-only access to the volume.The name of the volume to mount.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getContainerPath
The path on the container to mount the host volume at. -
getReadOnly
Specifies whether to give the container read-only access to the volume.If this value is true, the container has read-only access to the volume. If this value is false, then the container can write to the volume.
-
getSourceVolume
The name of the volume to mount.Must be a volume name referenced in the name parameter of task definition volume.
-
builder
- Returns:
- a
MountPoint.Builder
ofMountPoint
-