

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](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/Welcome.html).

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

This is used when you're using an S3Files file system for job storage.

## Syntax
<a name="aws-properties-batch-jobdefinition-s3filesvolumeconfiguration-syntax"></a>

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

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

```
{
  "[AccessPointArn](#cfn-batch-jobdefinition-s3filesvolumeconfiguration-accesspointarn)" : {{String}},
  "[FileSystemArn](#cfn-batch-jobdefinition-s3filesvolumeconfiguration-filesystemarn)" : {{String}},
  "[RootDirectory](#cfn-batch-jobdefinition-s3filesvolumeconfiguration-rootdirectory)" : {{String}},
  "[TransitEncryptionPort](#cfn-batch-jobdefinition-s3filesvolumeconfiguration-transitencryptionport)" : {{Integer}}
}
```

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

```
  [AccessPointArn](#cfn-batch-jobdefinition-s3filesvolumeconfiguration-accesspointarn): {{String}}
  [FileSystemArn](#cfn-batch-jobdefinition-s3filesvolumeconfiguration-filesystemarn): {{String}}
  [RootDirectory](#cfn-batch-jobdefinition-s3filesvolumeconfiguration-rootdirectory): {{String}}
  [TransitEncryptionPort](#cfn-batch-jobdefinition-s3filesvolumeconfiguration-transitencryptionport): {{Integer}}
```

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

`AccessPointArn`  <a name="cfn-batch-jobdefinition-s3filesvolumeconfiguration-accesspointarn"></a>
The Amazon Resource Name (ARN) of the S3Files access point to use.  
*Required*: No  
*Type*: String  
*Update requires*: [No interruption](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`FileSystemArn`  <a name="cfn-batch-jobdefinition-s3filesvolumeconfiguration-filesystemarn"></a>
The Amazon Resource Name (ARN) of the S3Files file system to use.  
*Required*: Yes  
*Type*: String  
*Update requires*: [No interruption](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`RootDirectory`  <a name="cfn-batch-jobdefinition-s3filesvolumeconfiguration-rootdirectory"></a>
The directory within the S3Files file system to mount as the root directory.  
*Required*: No  
*Type*: String  
*Update requires*: [No interruption](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`TransitEncryptionPort`  <a name="cfn-batch-jobdefinition-s3filesvolumeconfiguration-transitencryptionport"></a>
The port to use when sending encrypted data between the Amazon ECS host and the S3Files file system server.  
*Required*: No  
*Type*: Integer  
*Update requires*: [No interruption](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)