Struct aws_sdk_macie2::model::BucketPublicAccess
source · #[non_exhaustive]pub struct BucketPublicAccess { /* private fields */ }
Expand description
Provides information about the permissions settings that determine whether an S3 bucket is publicly accessible.
Implementations§
source§impl BucketPublicAccess
impl BucketPublicAccess
sourcepub fn effective_permission(&self) -> Option<&EffectivePermission>
pub fn effective_permission(&self) -> Option<&EffectivePermission>
Specifies whether the bucket is publicly accessible due to the combination of permissions settings that apply to the bucket. Possible values are:
NOT_PUBLIC - The bucket isn't publicly accessible.
PUBLIC - The bucket is publicly accessible.
UNKNOWN - Amazon Macie can't determine whether the bucket is publicly accessible.
sourcepub fn permission_configuration(&self) -> Option<&BucketPermissionConfiguration>
pub fn permission_configuration(&self) -> Option<&BucketPermissionConfiguration>
The account-level and bucket-level permissions settings for the bucket.
source§impl BucketPublicAccess
impl BucketPublicAccess
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture BucketPublicAccess
.
Trait Implementations§
source§impl Clone for BucketPublicAccess
impl Clone for BucketPublicAccess
source§fn clone(&self) -> BucketPublicAccess
fn clone(&self) -> BucketPublicAccess
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for BucketPublicAccess
impl Debug for BucketPublicAccess
source§impl PartialEq<BucketPublicAccess> for BucketPublicAccess
impl PartialEq<BucketPublicAccess> for BucketPublicAccess
source§fn eq(&self, other: &BucketPublicAccess) -> bool
fn eq(&self, other: &BucketPublicAccess) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.