location_s3
Gets an individual location_s3
resource
Overview
Name | location_s3 |
Type | Resource |
Description | location_s3 |
Id | awscc.datasync.location_s3 |
Fields
Name | Datatype | Description |
---|---|---|
s3_config | object | |
s3_bucket_arn | string | The Amazon Resource Name (ARN) of the Amazon S3 bucket. |
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. |
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. |
tags | array | An array of key-value pairs to apply to this 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. |
region | string | AWS 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