Skip to main content

location_s3_tags

Expands all tag keys and values for location_s3s in a region

Overview

Namelocation_s3_tags
TypeResource
DescriptionResource schema for AWS::DataSync::LocationS3
Idaws.datasync.location_s3_tags

Fields

NameDatatypeDescription
s3_configobjectThe Amazon Resource Name (ARN) of the AWS IAM role that is used to access an Amazon S3 bucket.
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.
location_arnstringThe Amazon Resource Name (ARN) of the Amazon S3 bucket location.
location_uristringThe URL of the S3 location that was described.
tag_keystringTag key.
tag_valuestringTag value.
regionstringAWS region.

Methods

NameAccessible byRequired Params
list_resourcesSELECTregion

SELECT examples

Expands tags for all location_s3s in a region.

SELECT
region,
s3_config,
s3_bucket_arn,
subdirectory,
s3_storage_class,
location_arn,
location_uri,
tag_key,
tag_value
FROM aws.datasync.location_s3_tags
WHERE region = 'us-east-1';

Permissions

For permissions required to operate on the location_s3_tags resource, see location_s3s