blockPublicPolicy property

bool? blockPublicPolicy
getter/setter pair

Specifies whether Amazon S3 should block public bucket policies for this bucket. Setting this element to TRUE causes Amazon S3 to reject calls to PUT Bucket policy if the specified bucket policy allows public access.

Implementation

bool? blockPublicPolicy;