When using AWS DataSync, you now have the option of configuring file path and object key filters to control the data copied between your NFS servers, Amazon S3 buckets, and Amazon EFS file systems. Filters enable you to specify the files, folders, or objects in the source location that you want your DataSync task to copy. With filters you can you can easily split a single file system between multiple storage destinations, exclude copying temporary files and folders, or copy only a subset of files from your source location.

from Recent Announcements https://aws.amazon.com/about-aws/whats-new/2019/05/aws-datasync-adds-filtering-for-data-transfers/