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();
 
  • Method Details

    • getSourceVolume

      @Stability(Stable) @NotNull String getSourceVolume()
      The name of the volume to mount.

      Must be a volume name referenced in the name parameter of task definition volume.

    • builder

      @Stability(Stable) static MountPoint.Builder builder()
      Returns:
      a MountPoint.Builder of MountPoint