Skip to main content

location_s3s_list_only

Lists location_s3s in a region or regions, for all properties use location_s3s

Overview

Namelocation_s3s_list_only
TypeResource
DescriptionResource schema for AWS::DataSync::LocationS3
Idaws.datasync.location_s3s_list_only

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.
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

NameAccessible byRequired Params
list_resourcesSELECTregion

SELECT examples

Lists all location_s3s in a region.

SELECT
region,
location_arn
FROM aws.datasync.location_s3s_list_only
WHERE region = 'us-east-1';

Permissions

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