Struct aws_sdk_s3::model::Encryption [−][src]
#[non_exhaustive]pub struct Encryption {
pub encryption_type: Option<ServerSideEncryption>,
pub kms_key_id: Option<String>,
pub kms_context: Option<String>,
}
Expand description
Contains the type of server-side encryption used.
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<ServerSideEncryption>
The server-side encryption algorithm used when storing job results in Amazon S3 (for example, AES256, aws:kms).
kms_key_id: Option<String>
If the encryption type is aws:kms
, this optional value specifies the ID of
the symmetric customer managed key to use for encryption of job results. Amazon S3 only
supports symmetric keys. For more information, see Using symmetric and
asymmetric keys in the Amazon Web Services Key Management Service Developer Guide.
kms_context: Option<String>
If the encryption type is aws:kms
, this optional value can be used to
specify the encryption context for the restore results.
Implementations
The server-side encryption algorithm used when storing job results in Amazon S3 (for example, AES256, aws:kms).
If the encryption type is aws:kms
, this optional value specifies the ID of
the symmetric customer managed key to use for encryption of job results. Amazon S3 only
supports symmetric keys. For more information, see Using symmetric and
asymmetric keys in the Amazon Web Services Key Management Service Developer Guide.
If the encryption type is aws:kms
, this optional value can be used to
specify the encryption context for the restore results.
Creates a new builder-style object to manufacture Encryption
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 Encryption
impl Send for Encryption
impl Sync for Encryption
impl Unpin for Encryption
impl UnwindSafe for Encryption
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