access_point_policy_status
Creates, updates, deletes, gets or lists an access_point_policy_status resource.
Overview
| Name | access_point_policy_status |
| Type | Resource |
| Id | aws.s3control.access_point_policy_status |
Fields
The following fields are returned by SELECT queries:
- get_access_point_policy_status
| Name | Datatype | Description |
|---|---|---|
is_public | boolean |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_access_point_policy_status | select | x-amz-account-id, name, region | 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. |
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.
| Name | Datatype | Description |
|---|---|---|
name | string | The name of the access point whose policy status you want to retrieve. |
region | string | AWS region (default: us-east-1) |
x-amz-account-id | string | The account ID for the account that owns the specified access point. |
SELECT examples
- get_access_point_policy_status
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
;