Interface CfnTaskDefinition.TmpfsProperty

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

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

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

    • getSize

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

      @Stability(Stable) @Nullable default String getContainerPath()
      The absolute file path where the tmpfs volume is to be mounted.
    • 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 CfnTaskDefinition.TmpfsProperty.Builder builder()
      Returns:
      a CfnTaskDefinition.TmpfsProperty.Builder of CfnTaskDefinition.TmpfsProperty