restrictPublicBuckets

@JvmName(name = "iqvkykbnsrxtwtsi")
suspend fun restrictPublicBuckets(value: Output<Boolean>)
@JvmName(name = "tmovtojlftflxbxm")
suspend fun restrictPublicBuckets(value: Boolean?)

Parameters

value

Whether Amazon S3 should restrict public bucket policies for buckets in this account. Defaults to true. Enabling this setting does not 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. When set to true:

  • Only the bucket owner and AWS Services can access buckets with public policies.