Interface Tmpfs

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

@Generated(value="jsii-pacmak/1.104.0 (build e79254c)", date="2024-11-22T02:23:57.769Z") @Stability(Stable) public interface Tmpfs extends software.amazon.jsii.JsiiSerializable
The details of a tmpfs mount 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.*;
 import software.amazon.awscdk.services.batch.*;
 Size size;
 Tmpfs tmpfs = Tmpfs.builder()
         .containerPath("containerPath")
         .size(size)
         // the properties below are optional
         .mountOptions(List.of(TmpfsMountOption.DEFAULTS))
         .build();
 
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static final class 
    A builder for Tmpfs
    static final class 
    An implementation for Tmpfs
  • Method Summary

    Modifier and Type
    Method
    Description
     
    The absolute file path where the tmpfs volume is to be mounted.
    The list of tmpfs volume mount options.
    The size (in MiB) of the tmpfs volume.

    Methods inherited from interface software.amazon.jsii.JsiiSerializable

    $jsii$toJson
  • Method Details

    • getContainerPath

      @Stability(Stable) @NotNull String getContainerPath()
      The absolute file path where the tmpfs volume is to be mounted.
    • getSize

      @Stability(Stable) @NotNull Size getSize()
      The size (in MiB) of the tmpfs volume.
    • getMountOptions

      @Stability(Stable) @Nullable default List<TmpfsMountOption> getMountOptions()
      The list of tmpfs volume mount options.

      For more information, see TmpfsMountOptions.

      Default: none

    • builder

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