AWS::DataSync::Task TaskReportConfigDestinationS3 - AWS CloudFormation

AWS::DataSync::Task TaskReportConfigDestinationS3

Specifies the Amazon S3 bucket where DataSync uploads your task report.

Syntax

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

JSON

{ "BucketAccessRoleArn" : String, "S3BucketArn" : String, "Subdirectory" : String }

YAML

BucketAccessRoleArn: String S3BucketArn: String Subdirectory: String

Properties

BucketAccessRoleArn

Specifies the Amazon Resource Name (ARN) of the IAM policy that allows DataSync to upload a task report to your S3 bucket. For more information, see Allowing DataSync to upload a task report to an Amazon S3 bucket.

Required: No

Type: String

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

Maximum: 2048

Update requires: No interruption

S3BucketArn

Specifies the ARN of the S3 bucket where DataSync uploads your report.

Required: No

Type: String

Pattern: ^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):(s3|s3-outposts):[a-z\-0-9]*:[0-9]*:.*$

Maximum: 156

Update requires: No interruption

Subdirectory

Specifies a bucket prefix for your report.

Required: No

Type: String

Pattern: ^[a-zA-Z0-9_\-\+\./\(\)\p{Zs}]*$

Maximum: 4096

Update requires: No interruption