@Stability(value=Stable)
public static interface CfnTaskDefinition.TmpfsProperty
extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnTaskDefinition.TmpfsProperty.Builder
A builder for
CfnTaskDefinition.TmpfsProperty |
static class |
CfnTaskDefinition.TmpfsProperty.Jsii$Proxy
An implementation for
CfnTaskDefinition.TmpfsProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnTaskDefinition.TmpfsProperty.Builder |
builder() |
default String |
getContainerPath()
The absolute file path where the tmpfs volume is to be mounted.
|
default List<String> |
getMountOptions()
The list of tmpfs volume mount options.
|
Number |
getSize()
The maximum size (in MiB) of the tmpfs volume.
|
@Stability(value=Stable) @NotNull Number getSize()
@Stability(value=Stable) @Nullable default String getContainerPath()
@Stability(value=Stable) @Nullable default List<String> getMountOptions()
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"
@Stability(value=Stable) static CfnTaskDefinition.TmpfsProperty.Builder builder()
Copyright © 2022. All rights reserved.