This template creates an S3 location for DataSync. It specifies an S3 bucket using the bucket ARN `arn:aws:s3:::MyBucket`. The access role is specified by the ARN `arn:aws:iam::111222333444:role/MyBucketAccessRole`. The S3 location uses the S3 Standard storage class and refers to the subdirectory `/MyFolder`.

CloudFormation Template