blockPublicPolicy

@JvmName(name = "hdksnugswaemtwkh")
suspend fun blockPublicPolicy(value: Output<Boolean>)
@JvmName(name = "rsweksckdmclvbil")
suspend fun blockPublicPolicy(value: Boolean?)

Parameters

value

Whether Amazon S3 should block public bucket policies for this bucket. Defaults to false. Enabling this setting does not affect the existing bucket policy. When set to true causes Amazon S3 to:

  • Reject calls to PUT Bucket policy if the specified bucket policy allows public access.