Skip to main content

multi_region_access_points

Creates, updates, deletes or gets a multi_region_access_point resource or lists multi_region_access_points in a region

Overview

Namemulti_region_access_points
TypeResource
DescriptionAWS::S3::MultiRegionAccessPoint is an Amazon S3 resource type that dynamically routes S3 requests to easily satisfy geographic compliance requirements based on customer-defined routing policies.
Idaws.s3.multi_region_access_points

Fields

NameDatatypeDescription
namestringThe name you want to assign to this Multi Region Access Point.
aliasstringThe alias is a unique identifier to, and is part of the public DNS name for this Multi Region Access Point
created_atstringThe timestamp of the when the Multi Region Access Point is created
public_access_block_configurationobjectThe PublicAccessBlock configuration that you want to apply to this Multi Region Access Point. You can enable the configuration options in any combination. For more information about when Amazon S3 considers a bucket or object public, see https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html#access-control-block-public-access-policy-status 'The Meaning of Public' in the Amazon Simple Storage Service Developer Guide.
regionsarrayThe list of buckets that you want to associate this Multi Region Access Point with.
regionstringAWS region.

Methods

NameAccessible byRequired Params
create_resourceINSERTRegions, region
delete_resourceDELETEdata__Identifier, region
list_resourcesSELECTregion
get_resourceSELECTdata__Identifier, region

SELECT examples

Gets all multi_region_access_points in a region.

SELECT
region,
name,
alias,
created_at,
public_access_block_configuration,
regions
FROM aws.s3.multi_region_access_points
WHERE region = 'us-east-1';

Gets all properties from an individual multi_region_access_point.

SELECT
region,
name,
alias,
created_at,
public_access_block_configuration,
regions
FROM aws.s3.multi_region_access_points
WHERE region = 'us-east-1' AND data__Identifier = '<Name>';

INSERT example

Use the following StackQL query and manifest file to create a new multi_region_access_point resource, using stack-deploy.

/*+ create */
INSERT INTO aws.s3.multi_region_access_points (
Regions,
region
)
SELECT
'{{ Regions }}',
'{{ region }}';

DELETE example

/*+ delete */
DELETE FROM aws.s3.multi_region_access_points
WHERE data__Identifier = '<Name>'
AND region = 'us-east-1';

Permissions

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

Create

s3:CreateMultiRegionAccessPoint,
s3:DescribeMultiRegionAccessPointOperation,
s3:GetMultiRegionAccessPoint

Read

s3:GetMultiRegionAccessPoint

Delete

s3:DeleteMultiRegionAccessPoint,
s3:DescribeMultiRegionAccessPointOperation,
s3:GetMultiRegionAccessPoint

List

s3:ListMultiRegionAccessPoints