#[non_exhaustive]pub struct S3PublicAccessBlockConfiguration { /* private fields */ }
Expand description
The PublicAccessBlock
configuration to apply to this Amazon S3 bucket. If the proposed configuration is for an existing Amazon S3 bucket and the configuration is not specified, the access preview uses the existing setting. If the proposed configuration is for a new bucket and the configuration is not specified, the access preview uses false
. If the proposed configuration is for a new access point or multi-region access point and the access point BPA configuration is not specified, the access preview uses true
. For more information, see PublicAccessBlockConfiguration.
Implementations§
source§impl S3PublicAccessBlockConfiguration
impl S3PublicAccessBlockConfiguration
sourcepub fn ignore_public_acls(&self) -> Option<bool>
pub fn ignore_public_acls(&self) -> Option<bool>
Specifies whether Amazon S3 should ignore public ACLs for this bucket and objects in this bucket.
sourcepub fn restrict_public_buckets(&self) -> Option<bool>
pub fn restrict_public_buckets(&self) -> Option<bool>
Specifies whether Amazon S3 should restrict public bucket policies for this bucket.
source§impl S3PublicAccessBlockConfiguration
impl S3PublicAccessBlockConfiguration
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture S3PublicAccessBlockConfiguration
.
Trait Implementations§
source§impl Clone for S3PublicAccessBlockConfiguration
impl Clone for S3PublicAccessBlockConfiguration
source§fn clone(&self) -> S3PublicAccessBlockConfiguration
fn clone(&self) -> S3PublicAccessBlockConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq<S3PublicAccessBlockConfiguration> for S3PublicAccessBlockConfiguration
impl PartialEq<S3PublicAccessBlockConfiguration> for S3PublicAccessBlockConfiguration
source§fn eq(&self, other: &S3PublicAccessBlockConfiguration) -> bool
fn eq(&self, other: &S3PublicAccessBlockConfiguration) -> bool
self
and other
values to be equal, and is used
by ==
.