# AWS::FSx::DataRepositoryAssociation S3 The configuration for an Amazon S3 data repository linked to an Amazon FSx Lustre file system with a data repository association. The configuration defines which file events (new, changed, or deleted files or directories) are automatically imported from the linked data repository to the file system or automatically exported from the file system to the data repository. ## Syntax To declare this entity in your AWS CloudFormation template, use the following syntax: ### JSON
{
    "AutoImportPolicy" : AutoImportPolicy,
    "AutoExportPolicy" : AutoExportPolicy
}
### YAML
AutoImportPolicy: AutoImportPolicy
AutoExportPolicy: AutoExportPolicy
## Properties #### AutoImportPolicy Specifies the type of updated objects (new, changed, deleted) that will be automatically imported from the linked S3 bucket to your file system. _Required_: No _Type_: AutoImportPolicy _Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt) #### AutoExportPolicy Specifies the type of updated objects (new, changed, deleted) that will be automatically exported from your file system to the linked S3 bucket. _Required_: No _Type_: AutoExportPolicy _Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)