restrictPublicBuckets

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

Parameters

value

Whether Amazon S3 should restrict public bucket policies for this bucket. Defaults to false. Enabling this setting does not affect the previously stored bucket policy, except that public and cross-account access within the 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 this buckets if it has a public policy.