Interface MountPoint

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
MountPoint.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:47.421Z") @Stability(Stable) public interface MountPoint extends software.amazon.jsii.JsiiSerializable
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

    • getContainerPath

      @Stability(Stable) @NotNull String getContainerPath()
      The path on the container to mount the host volume at.
    • getReadOnly

      @Stability(Stable) @NotNull Boolean 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.

    • 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