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.103.1 (build bef2dea)", date="2024-10-25T14:21:14.405Z") @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();
 
  • 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.

    • builder

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