--- # generated by https://github.com/hashicorp/terraform-plugin-docs page_title: "awscc_datasync_location_s3 Resource - terraform-provider-awscc" subcategory: "" description: |- Resource schema for AWS::DataSync::LocationS3 --- # awscc_datasync_location_s3 (Resource) Resource schema for AWS::DataSync::LocationS3 ## Schema ### Required - `s3_bucket_arn` (String) The Amazon Resource Name (ARN) of the Amazon S3 bucket. - `s3_config` (Attributes) The Amazon Resource Name (ARN) of the AWS IAM role that is used to access an Amazon S3 bucket. (see [below for nested schema](#nestedatt--s3_config)) ### Optional - `s3_storage_class` (String) The Amazon S3 storage class you want to store your files in when this location is used as a task destination. - `subdirectory` (String) A subdirectory in the Amazon S3 bucket. This subdirectory in Amazon S3 is used to read data from the S3 source location or write data to the S3 destination. - `tags` (Attributes Set) An array of key-value pairs to apply to this resource. (see [below for nested schema](#nestedatt--tags)) ### Read-Only - `id` (String) Uniquely identifies the resource. - `location_arn` (String) The Amazon Resource Name (ARN) of the Amazon S3 bucket location. - `location_uri` (String) The URL of the S3 location that was described. ### Nested Schema for `s3_config` Required: - `bucket_access_role_arn` (String) The ARN of the IAM role of the Amazon S3 bucket. ### Nested Schema for `tags` Optional: - `key` (String) The key for an AWS resource tag. - `value` (String) The value for an AWS resource tag. ## Import Import is supported using the following syntax: ```shell $ terraform import awscc_datasync_location_s3.example ```