pub struct S3EncryptionConfiguration {
pub kms_key_arn: Option<String>,
pub object_encryption_type: String,
}Expand description
The encryption settings that are used by a journal export job to write data in an Amazon Simple Storage Service (Amazon S3) bucket.
Fields§
§kms_key_arn: Option<String>The Amazon Resource Name (ARN) for a symmetric customer master key (CMK) in AWS Key Management Service (AWS KMS). Amazon QLDB does not support asymmetric CMKs.
You must provide a KmsKeyArn if you specify SSE_KMS as the ObjectEncryptionType.
KmsKeyArn is not required if you specify SSE_S3 as the ObjectEncryptionType.
object_encryption_type: StringThe Amazon S3 object encryption type.
To learn more about server-side encryption options in Amazon S3, see Protecting Data Using Server-Side Encryption in the Amazon S3 Developer Guide.
Trait Implementations§
Source§impl Clone for S3EncryptionConfiguration
impl Clone for S3EncryptionConfiguration
Source§fn clone(&self) -> S3EncryptionConfiguration
fn clone(&self) -> S3EncryptionConfiguration
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for S3EncryptionConfiguration
impl Debug for S3EncryptionConfiguration
Source§impl Default for S3EncryptionConfiguration
impl Default for S3EncryptionConfiguration
Source§fn default() -> S3EncryptionConfiguration
fn default() -> S3EncryptionConfiguration
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for S3EncryptionConfiguration
impl<'de> Deserialize<'de> for S3EncryptionConfiguration
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for S3EncryptionConfiguration
Auto Trait Implementations§
impl Freeze for S3EncryptionConfiguration
impl RefUnwindSafe for S3EncryptionConfiguration
impl Send for S3EncryptionConfiguration
impl Sync for S3EncryptionConfiguration
impl Unpin for S3EncryptionConfiguration
impl UnwindSafe for S3EncryptionConfiguration
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
Mutably borrows from an owned value. Read more