AWS::ECS::TaskDefinition Tmpfs - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

This is the new Amazon CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the Amazon CloudFormation User Guide.

AWS::ECS::TaskDefinition Tmpfs

The container path, mount options, and size of the tmpfs mount.

Syntax

To declare this entity in your Amazon CloudFormation template, use the following syntax:

JSON

{ "ContainerPath" : String, "MountOptions" : [ String, ... ], "Size" : Integer }

YAML

ContainerPath: String MountOptions: - String Size: Integer

Properties

ContainerPath

The absolute file path where the tmpfs volume is to be mounted.

Required: No

Type: String

Update requires: Replacement

MountOptions

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"

Required: No

Type: Array of String

Update requires: Replacement

Size

The maximum size (in MiB) of the tmpfs volume.

Required: Yes

Type: Integer

Update requires: Replacement