Struct aws_sdk_macie2::model::ServerSideEncryption
source · [−]#[non_exhaustive]pub struct ServerSideEncryption {
pub encryption_type: Option<EncryptionType>,
pub kms_master_key_id: Option<String>,
}
Expand description
Provides information about the server-side encryption settings for an S3 bucket or S3 object.
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.encryption_type: Option<EncryptionType>
The server-side encryption algorithm that's used when storing data in the bucket or object. If default encryption is disabled for the bucket or the object isn't encrypted using server-side encryption, this value is NONE.
kms_master_key_id: Option<String>
The Amazon Resource Name (ARN) or unique identifier (key ID) for the KMS key that's used to encrypt data in the bucket or the object. This value is null if an KMS key isn't used to encrypt the data.
Implementations
The server-side encryption algorithm that's used when storing data in the bucket or object. If default encryption is disabled for the bucket or the object isn't encrypted using server-side encryption, this value is NONE.
The Amazon Resource Name (ARN) or unique identifier (key ID) for the KMS key that's used to encrypt data in the bucket or the object. This value is null if an KMS key isn't used to encrypt the data.
Creates a new builder-style object to manufacture ServerSideEncryption
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ServerSideEncryption
impl Send for ServerSideEncryption
impl Sync for ServerSideEncryption
impl Unpin for ServerSideEncryption
impl UnwindSafe for ServerSideEncryption
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more