Interface Tmpfs
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
Tmpfs.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-12-01T16:02:15.293Z")
@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 -
Method Summary
Modifier and TypeMethodDescriptionstatic Tmpfs.Builderbuilder()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.BuilderofTmpfs
-