Struct aws_sdk_batch::types::Tmpfs
source · #[non_exhaustive]pub struct Tmpfs {
pub container_path: Option<String>,
pub size: Option<i32>,
pub mount_options: Option<Vec<String>>,
}
Expand description
The container path, mount options, and size of the tmpfs
mount.
This object isn't applicable to jobs that are running on Fargate resources.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.container_path: Option<String>
The absolute file path in the container where the tmpfs
volume is mounted.
size: Option<i32>
The size (in MiB) of the tmpfs
volume.
mount_options: Option<Vec<String>>
The list of tmpfs
volume mount options.
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
"
Implementations§
source§impl Tmpfs
impl Tmpfs
sourcepub fn container_path(&self) -> Option<&str>
pub fn container_path(&self) -> Option<&str>
The absolute file path in the container where the tmpfs
volume is mounted.
sourcepub fn mount_options(&self) -> Option<&[String]>
pub fn mount_options(&self) -> Option<&[String]>
The list of tmpfs
volume mount options.
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
"