Interface CfnJobDefinition.TmpfsProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnJobDefinition.TmpfsProperty.Jsii$Proxy
Enclosing class:
CfnJobDefinition

@Stability(Stable) public static interface CfnJobDefinition.TmpfsProperty extends software.amazon.jsii.JsiiSerializable
The container path, mount options, and size of the tmpfs mount.

This object isn't applicable to jobs that are running on Fargate resources.

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.batch.*;
 TmpfsProperty tmpfsProperty = TmpfsProperty.builder()
         .containerPath("containerPath")
         .size(123)
         // the properties below are optional
         .mountOptions(List.of("mountOptions"))
         .build();
 
  • Method Details

    • getContainerPath

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

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

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

      Valid values: " defaults " | " ro " | " rw " | " suid " | " nosuid " | " dev " | " nodev " | " exec " | " noexec " | " sync " | " async " | " dirsync " | " remount " | " mand " | " nomand " | " atime " | " noatime " | " diratime " | " nodiratime " | " bind " | " rbind" | "unbindable" | "runbindable" | "private" | "rprivate" | "shared" | "rshared" | "slave" | "rslave" | "relatime " | " norelatime " | " strictatime " | " nostrictatime " | " mode " | " uid " | " gid " | " nr_inodes " | " nr_blocks " | " mpol "

    • builder

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