Struct aws_sdk_macie2::types::BucketPublicAccess
source · #[non_exhaustive]pub struct BucketPublicAccess {
pub effective_permission: Option<EffectivePermission>,
pub permission_configuration: Option<BucketPermissionConfiguration>,
}
Expand description
Provides information about the permissions settings that determine whether an S3 bucket is publicly accessible.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.effective_permission: 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.
permission_configuration: Option<BucketPermissionConfiguration>
The account-level and bucket-level permissions settings for the bucket.
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() -> BucketPublicAccessBuilder
pub fn builder() -> BucketPublicAccessBuilder
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
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for BucketPublicAccess
impl Debug for BucketPublicAccess
source§impl PartialEq for BucketPublicAccess
impl PartialEq for BucketPublicAccess
source§fn eq(&self, other: &BucketPublicAccess) -> bool
fn eq(&self, other: &BucketPublicAccess) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for BucketPublicAccess
Auto Trait Implementations§
impl Freeze for BucketPublicAccess
impl RefUnwindSafe for BucketPublicAccess
impl Send for BucketPublicAccess
impl Sync for BucketPublicAccess
impl Unpin for BucketPublicAccess
impl UnwindSafe for BucketPublicAccess
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more