AWS::DataSync::LocationS3 S3Config - AWS CloudFormation

AWS::DataSync::LocationS3 S3Config

Specifies the Amazon Resource Name (ARN) of the AWS 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 AWS 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