Skip to main content

access_point_policy_status

Creates, updates, deletes, gets or lists an access_point_policy_status resource.

Overview

Nameaccess_point_policy_status
TypeResource
Idaws.s3control.access_point_policy_status

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
is_publicboolean

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_access_point_policy_statusselectx-amz-account-id, name, regionThis operation is not supported by directory buckets. Indicates whether the specified access point currently has a policy that allows public access. For more information about public access through access points, see Managing Data Access with Amazon S3 access points in the Amazon S3 User Guide.

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
namestringThe name of the access point whose policy status you want to retrieve.
regionstringAWS region (default: us-east-1)
x-amz-account-idstringThe account ID for the account that owns the specified access point.

SELECT examples

This operation is not supported by directory buckets. Indicates whether the specified access point currently has a policy that allows public access. For more information about public access through access points, see Managing Data Access with Amazon S3 access points in the Amazon S3 User Guide.

SELECT
is_public
FROM aws.s3control.access_point_policy_status
WHERE `x-amz-account-id` = '{{ x-amz-account-id }}' -- required
AND name = '{{ name }}' -- required
AND region = '{{ region }}' -- required
;