#[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 ==
.impl StructuralPartialEq for BucketCountPolicyAllowsUnencryptedObjectUploads
Auto Trait Implementations§
impl Freeze for BucketCountPolicyAllowsUnencryptedObjectUploads
impl RefUnwindSafe for BucketCountPolicyAllowsUnencryptedObjectUploads
impl Send for BucketCountPolicyAllowsUnencryptedObjectUploads
impl Sync for BucketCountPolicyAllowsUnencryptedObjectUploads
impl Unpin for BucketCountPolicyAllowsUnencryptedObjectUploads
impl UnwindSafe for BucketCountPolicyAllowsUnencryptedObjectUploads
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