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.

Syntax

To declare this entity in your AWS 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. 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

Size

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: