AWS::DataSync::LocationS3 S3Config - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

AWS::DataSync::LocationS3 S3Config

The Amazon Resource Name (ARN) of the Amazon Identity and Access Management (IAM) role used to access an Amazon S3 bucket.

For detailed information about using such a role, see Creating a Location for Amazon S3 in the Amazon DataSync User Guide.


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


{ "BucketAccessRoleArn" : String }


BucketAccessRoleArn: String



The ARN of the IAM role for accessing the S3 bucket.

Required: Yes

Type: String

Maximum: 2048

Pattern: ^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):iam::[0-9]{12}:role/.*$

Update requires: Replacement