#[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 uploaded to the buckets.
Implementations
sourceimpl 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 the x-amz-server-side-encryption header and it doesn't require the value for that header to be AES256 or aws:kms.
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 the x-amz-server-side-encryption header and the value for that header must be AES256 or aws:kms.
sourceimpl BucketCountPolicyAllowsUnencryptedObjectUploads
impl BucketCountPolicyAllowsUnencryptedObjectUploads
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture BucketCountPolicyAllowsUnencryptedObjectUploads
.
Trait Implementations
sourceimpl Clone for BucketCountPolicyAllowsUnencryptedObjectUploads
impl Clone for BucketCountPolicyAllowsUnencryptedObjectUploads
sourcefn clone(&self) -> BucketCountPolicyAllowsUnencryptedObjectUploads
fn clone(&self) -> BucketCountPolicyAllowsUnencryptedObjectUploads
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more