Skip to main content

location_s3

Gets an individual location_s3 resource

Overview

Namelocation_s3
TypeResource
Descriptionlocation_s3
Idawscc.datasync.location_s3

Fields

NameDatatypeDescription
s3_configobject
s3_bucket_arnstringThe Amazon Resource Name (ARN) of the Amazon S3 bucket.
subdirectorystringA 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.
s3_storage_classstringThe Amazon S3 storage class you want to store your files in when this location is used as a task destination.
tagsarrayAn array of key-value pairs to apply to this resource.
location_arnstringThe Amazon Resource Name (ARN) of the Amazon S3 bucket location.
location_uristringThe URL of the S3 location that was described.
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
s3_config,
s3_bucket_arn,
subdirectory,
s3_storage_class,
tags,
location_arn,
location_uri
FROM awscc.datasync.location_s3
WHERE data__Identifier = '<LocationArn>';

Permissions

To operate on the location_s3 resource, the following permissions are required:

Read

datasync:DescribeLocationS3,
datasync:ListTagsForResource

Update

datasync:DescribeLocationS3,
datasync:ListTagsForResource,
datasync:TagResource,
datasync:UntagResource

Delete

datasync:DeleteLocation