Amazon Simple Storage Service Bucket PublicAccessBlockConfiguration
The
PublicAccessBlockConfiguration property type specifies the public access configuration for an Amazon S3 bucket.
PublicAccessBlockConfiguration is a property of the AWS::S3::Bucket resource type.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "BlockPublicAcls" :Boolean, "BlockPublicPolicy" :Boolean, "IgnorePublicAcls" :Boolean, "RestrictPublicBuckets" :Boolean}
YAML
BlockPublicAcls:BooleanBlockPublicPolicy:BooleanIgnorePublicAcls:BooleanRestrictPublicBuckets:Boolean
Properties
BlockPublicAcls-
Specifies whether Amazon S3 will reject public ACLs for this bucket.
Enabling this setting has no effect on existing policies or ACLs.
Required: No
Type: Boolean
Update requires: No interruption
BlockPublicPolicy-
Specifies whether Amazon S3 will block public bucket policies for this bucket.
Enabling this setting has no effect on existing policies.
Required: No
Type: Boolean
Update requires: No interruption
IgnorePublicAcls-
Specifies whether Amazon S3 will ignore public ACLs for this bucket.
Required: No
Type: Boolean
Update requires: No interruption
RestrictPublicBuckets-
Specifies whether Amazon S3 will lock down public bucket policies for this bucket.
Required: No
Type: Boolean
Update requires: No interruption
