Interface ScratchSpace

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

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:47.441Z") @Stability(Stable) public interface ScratchSpace extends software.amazon.jsii.JsiiSerializable
The temporary disk space mounted to the 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.*;
 ScratchSpace scratchSpace = ScratchSpace.builder()
         .containerPath("containerPath")
         .name("name")
         .readOnly(false)
         .sourcePath("sourcePath")
         .build();
 
  • Method Details

    • getContainerPath

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

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

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

    • getReadOnly

      @Stability(Stable) @NotNull Boolean getReadOnly()
      Specifies whether to give the container read-only access to the scratch volume.

      If this value is true, the container has read-only access to the scratch volume. If this value is false, then the container can write to the scratch volume.

    • getSourcePath

      @Stability(Stable) @NotNull String getSourcePath()
    • builder

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