This is the new AWS CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.
AWS::Batch::JobDefinition Tmpfs
The container path, mount options, and size of the tmpfs mount.
Note
This object isn't applicable to jobs that are running on Fargate resources.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "ContainerPath" :String, "MountOptions" :[ String, ... ], "Size" :Integer}
YAML
ContainerPath:StringMountOptions:- StringSize:Integer
Properties
ContainerPath-
The absolute file path in the container where the
tmpfsvolume is mounted.Required: Yes
Type: String
Update requires: No interruption
MountOptions-
The list of
tmpfsvolume 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"Required: No
Type: Array of String
Update requires: No interruption
Size-
The size (in MiB) of the
tmpfsvolume.Required: Yes
Type: Integer
Update requires: No interruption