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 ==
.