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

For more information, see AWS::S3Outposts::AccessPoint.

Methods

NameResourceAccessible byRequired Params
create_resourceaccess_pointsINSERTBucket, Name, VpcConfiguration, region
delete_resourceaccess_pointsDELETEIdentifier, region
update_resourceaccess_pointsUPDATEIdentifier, PatchDocument, region
list_resourcesaccess_points_list_onlySELECTregion
get_resourceaccess_pointsSELECTIdentifier, region

SELECT examples

Gets all properties from an individual access_point.

SELECT
region,
arn,
bucket,
name,
vpc_configuration,
policy
FROM awscc.s3outposts.access_points
WHERE
region = 'us-east-1' AND
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 awscc.s3outposts.access_points (
Bucket,
Name,
VpcConfiguration,
region
)
SELECT
'{{ bucket }}',
'{{ name }}',
'{{ vpc_configuration }}',
'{{ region }}';

UPDATE example

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

/*+ update */
UPDATE awscc.s3outposts.access_points
SET PatchDocument = string('{{ {
"Policy": policy
} | generate_patch_document }}')
WHERE
region = '{{ region }}' AND
Identifier = '{{ arn }}';

DELETE example

/*+ delete */
DELETE FROM awscc.s3outposts.access_points
WHERE
Identifier = '{{ arn }}' AND
region = 'us-east-1';

Permissions

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

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