@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:38.738Z") @Stability(value=Stable) public interface MountPoint extends software.amazon.jsii.JsiiSerializable
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() |
String |
getContainerPath()
The path on the container to mount the host volume at.
|
Boolean |
getReadOnly()
Specifies whether to give the container read-only access to the volume.
|
String |
getSourceVolume()
The name of the volume to mount.
|
@Stability(value=Stable) @NotNull String getContainerPath()
@Stability(value=Stable) @NotNull 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.
@Stability(value=Stable) @NotNull String getSourceVolume()
Must be a volume name referenced in the name parameter of task definition volume.
@Stability(value=Stable) static MountPoint.Builder builder()
MountPoint.Builder of MountPointCopyright © 2022. All rights reserved.