@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)",
date="2023-03-22T19:35:49.756Z")
public interface MountPoint
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();
Modifier and Type | Interface and Description |
---|---|
static class |
MountPoint.Builder
A builder for
MountPoint |
static class |
MountPoint.Jsii$Proxy
An implementation for
MountPoint |
Modifier and Type | Method and Description |
---|---|
static MountPoint.Builder |
builder() |
java.lang.String |
getContainerPath()
The path on the container to mount the host volume at.
|
java.lang.Boolean |
getReadOnly()
Specifies whether to give the container read-only access to the volume.
|
java.lang.String |
getSourceVolume()
The name of the volume to mount.
|
java.lang.String getContainerPath()
java.lang.Boolean getReadOnly()
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.
java.lang.String getSourceVolume()
Must be a volume name referenced in the name parameter of task definition volume.
static MountPoint.Builder builder()
MountPoint.Builder
of MountPoint