Interface MountPoint
- All Superinterfaces:
BaseMountPoint,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
MountPoint.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-20T23:37:20.357Z")
@Stability(Stable)
public interface MountPoint
extends software.amazon.jsii.JsiiSerializable, BaseMountPoint
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
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forMountPointstatic final classAn implementation forMountPoint -
Method Summary
Modifier and TypeMethodDescriptionstatic MountPoint.Builderbuilder()The name of the volume to mount.Methods inherited from interface software.amazon.awscdk.services.ecs.BaseMountPoint
getContainerPath, getReadOnlyMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
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.BuilderofMountPoint
-