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

Specifies the Amazon Resource Name (ARN) of the Amazon Identity and Access Management (IAM) role that DataSync uses to access your S3 bucket.

For more information, see Accessing S3 buckets.

Syntax

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

JSON

{ "BucketAccessRoleArn" : String }

YAML

BucketAccessRoleArn: String

Properties

BucketAccessRoleArn

Specifies the ARN of the IAM role that DataSync uses to access your S3 bucket.

Required: Yes

Type: String

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

Maximum: 2048

Update requires: Replacement