AWS CloudFormation
User Guide (API Version 2010-05-15)

Amazon ECS TaskDefinition Tmpfs

The Tmpfs property type specifies the container path, mount options, and size of the tmpfs mount.

Tmpfs is a property of the Amazon Elastic Container Service TaskDefinition LinuxParameters property type.


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


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


ContainerPath: String MountOptions - String Size: Integer



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

Required: No

Type: String

Update requires: Replacement


The list of tmpfs volume mount options. For a complete list of valid values, see Tmpfs in the Amazon Elastic Container Service API Reference.

Duplicate values are not allowed.

Required: No

Type: List of String values

Update requires: Replacement


The size (in MiB) of the tmpfs volume.

Required: No

Type: Integer

Update requires: Replacement

See Also

  • Tmpfs in the Amazon Elastic Container Service API Reference

On this page: