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
-
Method Summary
Modifier and TypeMethodDescriptionstatic Tmpfs.Builder
builder()
The absolute file path where the tmpfs volume is to be mounted.default List<TmpfsMountOption>
The list of tmpfs volume mount options.getSize()
The size (in MiB) of the tmpfs volume.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getContainerPath
The absolute file path where the tmpfs volume is to be mounted. -
getSize
The size (in MiB) of the tmpfs volume. -
getMountOptions
The list of tmpfs volume mount options.For more information, see TmpfsMountOptions.
Default: none
-
builder
- Returns:
- a
Tmpfs.Builder
ofTmpfs
-