@Stability(value=Stable)
public static interface CfnJobDefinition.TmpfsProperty
extends software.amazon.jsii.JsiiSerializable
This object isn't applicable to jobs that are running on Fargate resources.
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.batch.*;
TmpfsProperty tmpfsProperty = TmpfsProperty.builder()
.containerPath("containerPath")
.size(123)
// the properties below are optional
.mountOptions(List.of("mountOptions"))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnJobDefinition.TmpfsProperty.Builder
A builder for
CfnJobDefinition.TmpfsProperty |
static class |
CfnJobDefinition.TmpfsProperty.Jsii$Proxy
An implementation for
CfnJobDefinition.TmpfsProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnJobDefinition.TmpfsProperty.Builder |
builder() |
String |
getContainerPath()
The absolute file path in the container where the tmpfs volume is mounted.
|
default List<String> |
getMountOptions()
The list of tmpfs volume mount options.
|
Number |
getSize()
The size (in MiB) of the tmpfs volume.
|
@Stability(value=Stable) @NotNull String getContainerPath()
@Stability(value=Stable) @NotNull Number getSize()
@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 CfnJobDefinition.TmpfsProperty.Builder builder()
Copyright © 2022. All rights reserved.