#[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
sourceimpl 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.
sourceimpl S3PublicAccessBlockConfiguration
impl S3PublicAccessBlockConfiguration
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture S3PublicAccessBlockConfiguration.
Trait Implementations
sourceimpl Clone for S3PublicAccessBlockConfiguration
impl Clone for S3PublicAccessBlockConfiguration
sourcefn clone(&self) -> S3PublicAccessBlockConfiguration
fn clone(&self) -> S3PublicAccessBlockConfiguration
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more