Skip to main content

regional_buckets

Creates, updates, deletes, gets or lists a regional_buckets resource.

Overview

Nameregional_buckets
TypeResource
Idaws.s3control.regional_buckets

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
bucketstring
bucket_arnstringThe Amazon Resource Name (ARN) for the regional bucket.
creation_datestringThe creation date of the regional bucket
outpost_idstringThe Outposts ID of the regional bucket.
public_access_block_enabledboolean

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_regional_bucketsselectx-amz-account-id, regionnextToken, maxResults, x-amz-outpost-idThis operation is not supported by directory buckets. Returns a list of all Outposts buckets in an Outpost that are owned by the authenticated sender of the request. For more information, see Using Amazon S3 on Outposts in the Amazon S3 User Guide. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and x-amz-outpost-id in your request, see the Examples section.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)
x-amz-account-idstringThe Amazon Web Services account ID of the Outposts bucket.
maxResultsinteger
nextTokenstring
x-amz-outpost-idstringThe ID of the Outposts resource. This ID is required by Amazon S3 on Outposts buckets.

SELECT examples

This operation is not supported by directory buckets. Returns a list of all Outposts buckets in an Outpost that are owned by the authenticated sender of the request. For more information, see Using Amazon S3 on Outposts in the Amazon S3 User Guide. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and x-amz-outpost-id in your request, see the Examples section.

SELECT
bucket,
bucket_arn,
creation_date,
outpost_id,
public_access_block_enabled
FROM aws.s3control.regional_buckets
WHERE `x-amz-account-id` = '{{ x-amz-account-id }}' -- required
AND region = '{{ region }}' -- required
AND nextToken = '{{ nextToken }}'
AND maxResults = '{{ maxResults }}'
AND `x-amz-outpost-id` = '{{ x-amz-outpost-id }}'
;