restrictPublicBuckets property
Specifies whether Amazon S3 should restrict public bucket policies for
buckets in this account. Setting this element to TRUE
restricts
access to buckets with public policies to only AWS service principals and
authorized users within this account.
Enabling this setting doesn't affect previously stored bucket policies, except that public and cross-account access within any public bucket policy, including non-public delegation to specific accounts, is blocked.
This is not supported for Amazon S3 on Outposts.
Implementation
final bool? restrictPublicBuckets;