

This is the new *CloudFormation Template Reference Guide*. Please update your bookmarks and links. For help getting started with CloudFormation, see the [AWS CloudFormation User Guide](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/Welcome.html).

# AWS::Batch::JobDefinition Tmpfs
<a name="aws-properties-batch-jobdefinition-tmpfs"></a>

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
<a name="aws-properties-batch-jobdefinition-tmpfs-syntax"></a>

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

### JSON
<a name="aws-properties-batch-jobdefinition-tmpfs-syntax.json"></a>

```
{
  "[ContainerPath](#cfn-batch-jobdefinition-tmpfs-containerpath)" : String,
  "[MountOptions](#cfn-batch-jobdefinition-tmpfs-mountoptions)" : [ String, ... ],
  "[Size](#cfn-batch-jobdefinition-tmpfs-size)" : Integer
}
```

### YAML
<a name="aws-properties-batch-jobdefinition-tmpfs-syntax.yaml"></a>

```
  [ContainerPath](#cfn-batch-jobdefinition-tmpfs-containerpath): String
  [MountOptions](#cfn-batch-jobdefinition-tmpfs-mountoptions): 
    - String
  [Size](#cfn-batch-jobdefinition-tmpfs-size): Integer
```

## Properties
<a name="aws-properties-batch-jobdefinition-tmpfs-properties"></a>

`ContainerPath`  <a name="cfn-batch-jobdefinition-tmpfs-containerpath"></a>
The absolute file path in the container where the `tmpfs` volume is mounted.  
*Required*: Yes  
*Type*: String  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`MountOptions`  <a name="cfn-batch-jobdefinition-tmpfs-mountoptions"></a>
The list of `tmpfs` volume mount options.  
Valid values: "`defaults`" \$1 "`ro`" \$1 "`rw`" \$1 "`suid`" \$1 "`nosuid`" \$1 "`dev`" \$1 "`nodev`" \$1 "`exec`" \$1 "`noexec`" \$1 "`sync`" \$1 "`async`" \$1 "`dirsync`" \$1 "`remount`" \$1 "`mand`" \$1 "`nomand`" \$1 "`atime`" \$1 "`noatime`" \$1 "`diratime`" \$1 "`nodiratime`" \$1 "`bind`" \$1 "`rbind" | "unbindable" | "runbindable" | "private" | "rprivate" | "shared" | "rshared" | "slave" | "rslave" | "relatime`" \$1 "`norelatime`" \$1 "`strictatime`" \$1 "`nostrictatime`" \$1 "`mode`" \$1 "`uid`" \$1 "`gid`" \$1 "`nr_inodes`" \$1 "`nr_blocks`" \$1 "`mpol`"  
*Required*: No  
*Type*: Array of String  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Size`  <a name="cfn-batch-jobdefinition-tmpfs-size"></a>
The size (in MiB) of the `tmpfs` volume.  
*Required*: Yes  
*Type*: Integer  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)