@Generated(value="jsii-pacmak/1.41.0 (build a274beb)", date="2021-10-30T01:04:46.494Z") @Stability(value=Stable) public interface MountOptions extends software.amazon.jsii.JsiiSerializable
| Modifier and Type | Interface and Description |
|---|---|
static class |
MountOptions.Builder
A builder for
MountOptions |
static class |
MountOptions.Jsii$Proxy
An implementation for
MountOptions |
| Modifier and Type | Method and Description |
|---|---|
static MountOptions.Builder |
builder() |
default MountPropagation |
getPropagation()
Determines how mounts are propagated from the host to container and the other way around.
|
default Boolean |
getReadOnly()
Mounted read-only if true, read-write otherwise (false or unspecified).
|
default String |
getSubPath()
Path within the volume from which the container's volume should be mounted.).
|
default String |
getSubPathExpr()
Expanded path within the volume from which the container's volume should be mounted.
|
@Stability(value=Stable) @Nullable default MountPropagation getPropagation()
When not set, MountPropagationNone is used.
Mount propagation allows for sharing volumes mounted by a Container to other Containers in the same Pod, or even to other Pods on the same node.
This field is beta in 1.10.
Default: MountPropagation.NONE
@Stability(value=Stable) @Nullable default Boolean getReadOnly()
Defaults to false.
Default: false
@Stability(value=Stable) @Nullable default String getSubPath()
Default: "" the volume's root
@Stability(value=Stable) @Nullable default String getSubPathExpr()
Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment. Defaults to "" (volume's root). SubPathExpr and SubPath are mutually exclusive. This field is beta in 1.15.
subPathExpr and subPath are mutually exclusive. This field is beta in
1.15.
Default: "" volume's root.
@Stability(value=Stable) static MountOptions.Builder builder()
MountOptions.Builder of MountOptionsCopyright © 2021. All rights reserved.