s3-bucket-level-public-access-prohibited - AWS Config

s3-bucket-level-public-access-prohibited

Checks if S3 buckets are publicly accessible. The rule is NON_COMPLIANT if an S3 bucket is not listed in the excludedPublicBuckets parameter and bucket level settings are public.

Identifier: S3_BUCKET_LEVEL_PUBLIC_ACCESS_PROHIBITED

Resource Types: AWS::S3::Bucket

Trigger type: Configuration changes

AWS Region: All supported AWS regions

Parameters:

excludedPublicBuckets (Optional)
Type: CSV

Comma-separated list of known allowed public Amazon S3 bucket names.

AWS CloudFormation template

To create AWS Config managed rules with AWS CloudFormation templates, see Creating AWS Config Managed Rules With AWS CloudFormation Templates.