AWS::ECS::TaskDefinition Tmpfs
Tmpfs
属性指定容器路径、挂载选项和 tmpfs 挂载大小。
语法
要在 AWS CloudFormation 模板中声明此实体,请使用以下语法:
JSON
{ "ContainerPath" :
String
, "MountOptions" :[ String, ... ]
, "Size" :Integer
}
YAML
ContainerPath:
String
MountOptions:- String
Size:Integer
属性
ContainerPath
-
要挂载 tmpfs 卷的绝对文件路径。
必需:否
类型:字符串
Update requires: Replacement
MountOptions
-
tmpfs 卷挂载选项列表。
有效值:
"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"
必需:否
类型:字符串列表
Update requires: Replacement
Size
-
tmpfs 卷的最大大小(以 MiB 为单位)。
必需:是
类型:整数
Update requires: Replacement