#[non_exhaustive]pub struct BucketCountByEffectivePermission {
pub publicly_accessible: Option<i64>,
pub publicly_readable: Option<i64>,
pub publicly_writable: Option<i64>,
pub unknown: Option<i64>,
}
Expand description
Provides information about the number of S3 buckets that are publicly accessible due to a combination of permissions settings for each bucket.
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.publicly_accessible: Option<i64>
The total number of buckets that allow the general public to have read or write access to the bucket.
publicly_readable: Option<i64>
The total number of buckets that allow the general public to have read access to the bucket.
publicly_writable: Option<i64>
The total number of buckets that allow the general public to have write access to the bucket.
unknown: Option<i64>
The total number of buckets that Amazon Macie wasn't able to evaluate permissions settings for. Macie can't determine whether these buckets are publicly accessible.
Implementations§
source§impl BucketCountByEffectivePermission
impl BucketCountByEffectivePermission
sourcepub fn publicly_accessible(&self) -> Option<i64>
pub fn publicly_accessible(&self) -> Option<i64>
The total number of buckets that allow the general public to have read or write access to the bucket.
sourcepub fn publicly_readable(&self) -> Option<i64>
pub fn publicly_readable(&self) -> Option<i64>
The total number of buckets that allow the general public to have read access to the bucket.
sourcepub fn publicly_writable(&self) -> Option<i64>
pub fn publicly_writable(&self) -> Option<i64>
The total number of buckets that allow the general public to have write access to the bucket.
source§impl BucketCountByEffectivePermission
impl BucketCountByEffectivePermission
sourcepub fn builder() -> BucketCountByEffectivePermissionBuilder
pub fn builder() -> BucketCountByEffectivePermissionBuilder
Creates a new builder-style object to manufacture BucketCountByEffectivePermission
.
Trait Implementations§
source§impl Clone for BucketCountByEffectivePermission
impl Clone for BucketCountByEffectivePermission
source§fn clone(&self) -> BucketCountByEffectivePermission
fn clone(&self) -> BucketCountByEffectivePermission
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq<BucketCountByEffectivePermission> for BucketCountByEffectivePermission
impl PartialEq<BucketCountByEffectivePermission> for BucketCountByEffectivePermission
source§fn eq(&self, other: &BucketCountByEffectivePermission) -> bool
fn eq(&self, other: &BucketCountByEffectivePermission) -> bool
self
and other
values to be equal, and is used
by ==
.