Skip to main content

access_points

Creates, updates, deletes or gets an access_point resource or lists access_points in a region

Overview

Nameaccess_points
TypeResource
DescriptionResource Type Definition for AWS::S3Outposts::AccessPoint
Idaws.s3outposts.access_points

Fields

NameDatatypeDescription
arnstringThe Amazon Resource Name (ARN) of the specified AccessPoint.
bucketstringThe Amazon Resource Name (ARN) of the bucket you want to associate this AccessPoint with.
namestringA name for the AccessPoint.
vpc_configurationobjectVirtual Private Cloud (VPC) from which requests can be made to the AccessPoint.
policyobjectThe access point policy associated with this access point.
regionstringAWS region.

Methods

NameAccessible byRequired Params
create_resourceINSERTBucket, Name, VpcConfiguration, region
delete_resourceDELETEdata__Identifier, region
update_resourceUPDATEdata__Identifier, data__PatchDocument, region
list_resourcesSELECTregion
get_resourceSELECTdata__Identifier, region

SELECT examples

Gets all access_points in a region.

SELECT
region,
arn,
bucket,
name,
vpc_configuration,
policy
FROM aws.s3outposts.access_points
WHERE region = 'us-east-1';

Gets all properties from an individual access_point.

SELECT
region,
arn,
bucket,
name,
vpc_configuration,
policy
FROM aws.s3outposts.access_points
WHERE region = 'us-east-1' AND data__Identifier = '<Arn>';

INSERT example

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

/*+ create */
INSERT INTO aws.s3outposts.access_points (
Bucket,
Name,
VpcConfiguration,
region
)
SELECT
'{{ Bucket }}',
'{{ Name }}',
'{{ VpcConfiguration }}',
'{{ region }}';

DELETE example

/*+ delete */
DELETE FROM aws.s3outposts.access_points
WHERE data__Identifier = '<Arn>'
AND region = 'us-east-1';

Permissions

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

Create

s3-outposts:CreateAccessPoint,
s3-outposts:GetAccessPoint,
s3-outposts:PutAccessPointPolicy,
s3-outposts:GetAccessPointPolicy

Read

s3-outposts:GetAccessPoint,
s3-outposts:GetAccessPointPolicy

Update

s3-outposts:GetAccessPoint,
s3-outposts:PutAccessPointPolicy,
s3-outposts:GetAccessPointPolicy,
s3-outposts:DeleteAccessPointPolicy

Delete

s3-outposts:DeleteAccessPoint,
s3-outposts:DeleteAccessPointPolicy

List

s3-outposts:ListAccessPoints