#[non_exhaustive]pub struct BucketCountPolicyAllowsUnencryptedObjectUploads { /* private fields */ }
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.
Implementations§
source§impl BucketCountPolicyAllowsUnencryptedObjectUploads
impl BucketCountPolicyAllowsUnencryptedObjectUploads
sourcepub fn allows_unencrypted_object_uploads(&self) -> i64
pub fn allows_unencrypted_object_uploads(&self) -> 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) -> i64
pub fn denies_unencrypted_object_uploads(&self) -> 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<BucketCountPolicyAllowsUnencryptedObjectUploads> for BucketCountPolicyAllowsUnencryptedObjectUploads
impl PartialEq<BucketCountPolicyAllowsUnencryptedObjectUploads> 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 ==
.