Interface Tmpfs
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
Tmpfs.Jsii$Proxy
@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)",
date="2024-10-25T14:21:14.706Z")
@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
-
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.
-
builder
- Returns:
- a
Tmpfs.Builder
ofTmpfs
-