Interface BaseMountPoint
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
ContainerMountPoint,MountPoint
- All Known Implementing Classes:
BaseMountPoint.Jsii$Proxy,ContainerMountPoint.Jsii$Proxy,MountPoint.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-13T16:10:03.715Z")
@Stability(Stable)
public interface BaseMountPoint
extends software.amazon.jsii.JsiiSerializable
The base details of where a volume will be mounted within 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.*;
BaseMountPoint baseMountPoint = BaseMountPoint.builder()
.containerPath("containerPath")
.readOnly(false)
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forBaseMountPointstatic final classAn implementation forBaseMountPoint -
Method Summary
Modifier and TypeMethodDescriptionstatic BaseMountPoint.Builderbuilder()The path on the container to mount the host volume at.Specifies whether to give the container read-only access to the volume.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.
-
builder
- Returns:
- a
BaseMountPoint.BuilderofBaseMountPoint
-