Interface MountPoint
- All Superinterfaces:
BaseMountPoint
,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
MountPoint.Jsii$Proxy
@Generated(value="jsii-pacmak/1.97.0 (build 729de35)",
date="2024-04-18T17:54:16.512Z")
@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
Modifier and TypeInterfaceDescriptionstatic final class
A builder forMountPoint
static final class
An implementation forMountPoint
-
Method Summary
Modifier and TypeMethodDescriptionstatic MountPoint.Builder
builder()
The name of the volume to mount.Methods inherited from interface software.amazon.awscdk.services.ecs.BaseMountPoint
getContainerPath, getReadOnly
Methods 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.Builder
ofMountPoint
-