Struct aws_sdk_qldb::types::S3EncryptionConfiguration
source · #[non_exhaustive]pub struct S3EncryptionConfiguration {
pub object_encryption_type: S3ObjectEncryptionType,
pub kms_key_arn: Option<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 (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.object_encryption_type: S3ObjectEncryptionTypeThe 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.
kms_key_arn: Option<String>The Amazon Resource Name (ARN) of a symmetric encryption key in Key Management Service (KMS). Amazon S3 does not support asymmetric KMS keys.
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.
Implementations§
source§impl S3EncryptionConfiguration
impl S3EncryptionConfiguration
sourcepub fn object_encryption_type(&self) -> &S3ObjectEncryptionType
pub fn object_encryption_type(&self) -> &S3ObjectEncryptionType
The 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.
sourcepub fn kms_key_arn(&self) -> Option<&str>
pub fn kms_key_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of a symmetric encryption key in Key Management Service (KMS). Amazon S3 does not support asymmetric KMS keys.
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.
source§impl S3EncryptionConfiguration
impl S3EncryptionConfiguration
sourcepub fn builder() -> S3EncryptionConfigurationBuilder
pub fn builder() -> S3EncryptionConfigurationBuilder
Creates a new builder-style object to manufacture S3EncryptionConfiguration.
Trait Implementations§
source§impl Clone for S3EncryptionConfiguration
impl Clone for S3EncryptionConfiguration
source§fn clone(&self) -> S3EncryptionConfiguration
fn clone(&self) -> S3EncryptionConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for S3EncryptionConfiguration
impl Debug for S3EncryptionConfiguration
source§impl PartialEq for S3EncryptionConfiguration
impl PartialEq for S3EncryptionConfiguration
source§fn eq(&self, other: &S3EncryptionConfiguration) -> bool
fn eq(&self, other: &S3EncryptionConfiguration) -> bool
self and other values to be equal, and is used
by ==.