Skip to main content
Version: 0.0.25

Table: public_access_block

Table to manage AWS S3 bucket public access.

The Amazon S3 Block Public Access feature provides settings for access points, buckets, and accounts to help you manage public access to Amazon S3 resources

Example

UPDATE public_access_block SET BlockPublicAcls = false, IgnorePublicAcls = false, BlockPublicPolicy = false, RestrictPublicBuckets = false WHERE bucket_name = 'mybucketname';

See

https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-control-block-public-access.html

Columns

Optional block_public_acls: boolean

Block public access to buckets and objects granted through new access control lists (ACLs)

Optional block_public_policy: boolean

Block public access to buckets and objects granted through new public bucket or access point policies

bucket: bucket

Reference for the bucket

bucket_name: string

Name of the bucket

Optional ignore_public_acls: boolean

Block public access to buckets and objects granted through any access control lists (ACLs)

Optional restrict_public_buckets: boolean

Block public and cross-account access to buckets and objects through any public bucket or access point policies