#[non_exhaustive]pub struct BucketCountPolicyAllowsUnencryptedObjectUploads {
pub allows_unencrypted_object_uploads: Option<i64>,
pub denies_unencrypted_object_uploads: Option<i64>,
pub unknown: Option<i64>,
}
Expand description
Provides information about the number of S3 buckets whose bucket policies do or don't require server-side encryption of objects when objects are added to the buckets.
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.allows_unencrypted_object_uploads: Option<i64>
The total number of buckets that don't have a bucket policy or have a bucket policy that doesn't require server-side encryption of new objects. If a bucket policy exists, the policy doesn't require PutObject requests to include a valid server-side encryption header: the x-amz-server-side-encryption header with a value of AES256 or aws:kms, or the x-amz-server-side-encryption-customer-algorithm header with a value of AES256.
denies_unencrypted_object_uploads: Option<i64>
The total number of buckets whose bucket policies require server-side encryption of new objects. PutObject requests for these buckets must include a valid server-side encryption header: the x-amz-server-side-encryption header with a value of AES256 or aws:kms, or the x-amz-server-side-encryption-customer-algorithm header with a value of AES256.
unknown: Option<i64>
The total number of buckets that Amazon Macie wasn't able to evaluate server-side encryption requirements for. Macie can't determine whether the bucket policies for these buckets require server-side encryption of new objects.
Implementations§
source§impl BucketCountPolicyAllowsUnencryptedObjectUploads
impl BucketCountPolicyAllowsUnencryptedObjectUploads
sourcepub fn allows_unencrypted_object_uploads(&self) -> Option<i64>
pub fn allows_unencrypted_object_uploads(&self) -> Option<i64>
The total number of buckets that don't have a bucket policy or have a bucket policy that doesn't require server-side encryption of new objects. If a bucket policy exists, the policy doesn't require PutObject requests to include a valid server-side encryption header: the x-amz-server-side-encryption header with a value of AES256 or aws:kms, or the x-amz-server-side-encryption-customer-algorithm header with a value of AES256.
sourcepub fn denies_unencrypted_object_uploads(&self) -> Option<i64>
pub fn denies_unencrypted_object_uploads(&self) -> Option<i64>
The total number of buckets whose bucket policies require server-side encryption of new objects. PutObject requests for these buckets must include a valid server-side encryption header: the x-amz-server-side-encryption header with a value of AES256 or aws:kms, or the x-amz-server-side-encryption-customer-algorithm header with a value of AES256.
source§impl BucketCountPolicyAllowsUnencryptedObjectUploads
impl BucketCountPolicyAllowsUnencryptedObjectUploads
sourcepub fn builder() -> BucketCountPolicyAllowsUnencryptedObjectUploadsBuilder
pub fn builder() -> BucketCountPolicyAllowsUnencryptedObjectUploadsBuilder
Creates a new builder-style object to manufacture BucketCountPolicyAllowsUnencryptedObjectUploads
.
Trait Implementations§
source§impl Clone for BucketCountPolicyAllowsUnencryptedObjectUploads
impl Clone for BucketCountPolicyAllowsUnencryptedObjectUploads
source§fn clone(&self) -> BucketCountPolicyAllowsUnencryptedObjectUploads
fn clone(&self) -> BucketCountPolicyAllowsUnencryptedObjectUploads
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for BucketCountPolicyAllowsUnencryptedObjectUploads
impl PartialEq for BucketCountPolicyAllowsUnencryptedObjectUploads
source§fn eq(&self, other: &BucketCountPolicyAllowsUnencryptedObjectUploads) -> bool
fn eq(&self, other: &BucketCountPolicyAllowsUnencryptedObjectUploads) -> bool
self
and other
values to be equal, and is used
by ==
.