Interface Tmpfs

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

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:47.485Z") @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.services.ecs.*;
 Tmpfs tmpfs = Tmpfs.builder()
         .containerPath("containerPath")
         .size(123)
         // 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 Number 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.

    • builder

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