class Aws::S3::Types::PutPublicAccessBlockRequest
@see docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutPublicAccessBlockRequest AWS API Documentation
@return [String]
(Access Denied)‘ error.
by a different account, the request will fail with an HTTP `403
The account ID of the expected bucket owner. If the bucket is owned
@!attribute [rw] expected_bucket_owner
@return [Types::PublicAccessBlockConfiguration]<br>: docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html#access-control-block-public-access-policy-status<br><br><br><br>*Amazon S3 User Guide*.
bucket or object public, see [The Meaning of “Public”] in the
combination. For more information about when Amazon S3 considers a
Amazon S3 bucket. You can enable the configuration options in any
The `PublicAccessBlock` configuration that you want to apply to this
@!attribute [rw] public_access_block_configuration
@return [String]
SDKs, this field is calculated automatically.
For requests made using the AWS Command Line Interface (CLI) or AWS
The MD5 hash of the `PutPublicAccessBlock` request body.
@!attribute [rw] content_md5
@return [String]
configuration you want to set.
The name of the Amazon S3 bucket whose `PublicAccessBlock`
@!attribute [rw] bucket
}
expected_bucket_owner: “AccountId”,
},
restrict_public_buckets: false,
block_public_policy: false,
ignore_public_acls: false,
block_public_acls: false,
public_access_block_configuration: { # required
content_md5: “ContentMD5”,
bucket: “BucketName”, # required
{
data as a hash:
@note When making an API call, you may pass PutPublicAccessBlockRequest