PublicAccessBlock
Retrieves the PublicAccessBlock settings for a bucket, which control whether public access to bucket data is allowed or restricted.
View-Specific Information
The connector uses the Amazon S3 API to process filter criteria that reference the Bucket column, and processes all other filters client-side within the connector. This view returns the PublicAccessBlock settings for a single bucket, so each query must include a Bucket filter.
SELECT
The following query is processed server-side:SELECT * FROM PublicAccessBlock WHERE Bucket = 'TestBucket'
Columns
| Name | Type | Description |
| BlockPublicAcls | Boolean | Indicates whether Amazon S3 blocks the use of new public ACLs and prevents existing public ACLs from granting access to this bucket and its objects. |
| IgnorePublicAcls | Boolean | Indicates whether Amazon S3 ignores all public ACLs, ensuring they cannot be used to grant access to this bucket or its objects. |
| BlockPublicPolicy | Boolean | Indicates whether Amazon S3 blocks bucket policies that allow public access to this bucket. |
| RestrictPublicBuckets | Boolean | Indicates whether Amazon S3 restricts access to the bucket if it has a public policy, allowing access only to authorized AWS accounts and services. |
| Bucket | String | The name of the S3 bucket to which this PublicAccessBlock configuration applies. |