Struct aws_sdk_macie2::types::BucketCountByEncryptionType
source · #[non_exhaustive]pub struct BucketCountByEncryptionType {
pub kms_managed: Option<i64>,
pub s3_managed: Option<i64>,
pub unencrypted: Option<i64>,
pub unknown: Option<i64>,
}
Expand description
Provides information about the number of S3 buckets whose settings do or don't specify default server-side encryption behavior for objects that are added to the buckets. For detailed information about these settings, see Setting default server-side encryption behavior for Amazon S3 buckets in the Amazon Simple Storage Service User Guide.
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.kms_managed: Option<i64>
The total number of buckets whose default encryption settings are configured to encrypt new objects with an KMS key, either an Amazon Web Services managed key or a customer managed key. By default, these buckets encrypt new objects automatically using DSSE-KMS or SSE-KMS encryption.
s3_managed: Option<i64>
The total number of buckets whose default encryption settings are configured to encrypt new objects with an Amazon S3 managed key. By default, these buckets encrypt new objects automatically using SSE-S3 encryption.
unencrypted: Option<i64>
The total number of buckets that don't specify default server-side encryption behavior for new objects. Default encryption settings aren't configured for these buckets.
unknown: Option<i64>
The total number of buckets that Amazon Macie doesn't have current encryption metadata for. Macie can't provide current data about the default encryption settings for these buckets.
Implementations§
source§impl BucketCountByEncryptionType
impl BucketCountByEncryptionType
sourcepub fn kms_managed(&self) -> Option<i64>
pub fn kms_managed(&self) -> Option<i64>
The total number of buckets whose default encryption settings are configured to encrypt new objects with an KMS key, either an Amazon Web Services managed key or a customer managed key. By default, these buckets encrypt new objects automatically using DSSE-KMS or SSE-KMS encryption.
sourcepub fn s3_managed(&self) -> Option<i64>
pub fn s3_managed(&self) -> Option<i64>
The total number of buckets whose default encryption settings are configured to encrypt new objects with an Amazon S3 managed key. By default, these buckets encrypt new objects automatically using SSE-S3 encryption.
sourcepub fn unencrypted(&self) -> Option<i64>
pub fn unencrypted(&self) -> Option<i64>
The total number of buckets that don't specify default server-side encryption behavior for new objects. Default encryption settings aren't configured for these buckets.
source§impl BucketCountByEncryptionType
impl BucketCountByEncryptionType
sourcepub fn builder() -> BucketCountByEncryptionTypeBuilder
pub fn builder() -> BucketCountByEncryptionTypeBuilder
Creates a new builder-style object to manufacture BucketCountByEncryptionType
.
Trait Implementations§
source§impl Clone for BucketCountByEncryptionType
impl Clone for BucketCountByEncryptionType
source§fn clone(&self) -> BucketCountByEncryptionType
fn clone(&self) -> BucketCountByEncryptionType
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for BucketCountByEncryptionType
impl Debug for BucketCountByEncryptionType
source§impl PartialEq for BucketCountByEncryptionType
impl PartialEq for BucketCountByEncryptionType
source§fn eq(&self, other: &BucketCountByEncryptionType) -> bool
fn eq(&self, other: &BucketCountByEncryptionType) -> bool
self
and other
values to be equal, and is used
by ==
.