Struct aws_sdk_synthetics::model::S3EncryptionConfig
source · [−]#[non_exhaustive]pub struct S3EncryptionConfig {
pub encryption_mode: Option<EncryptionMode>,
pub kms_key_arn: Option<String>,
}Expand description
A structure that contains the configuration of encryption-at-rest settings for canary artifacts that the canary uploads to Amazon S3.
For more information, see Encrypting canary artifacts
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_mode: Option<EncryptionMode> The encryption method to use for artifacts created by this canary. Specify SSE_S3 to use server-side encryption (SSE) with an Amazon S3-managed key. Specify SSE-KMS to use server-side encryption with a customer-managed KMS key.
If you omit this parameter, an Amazon Web Services-managed KMS key is used.
kms_key_arn: Option<String>The ARN of the customer-managed KMS key to use, if you specify SSE-KMS for EncryptionMode
Implementations
The encryption method to use for artifacts created by this canary. Specify SSE_S3 to use server-side encryption (SSE) with an Amazon S3-managed key. Specify SSE-KMS to use server-side encryption with a customer-managed KMS key.
If you omit this parameter, an Amazon Web Services-managed KMS key is used.
The ARN of the customer-managed KMS key to use, if you specify SSE-KMS for EncryptionMode
Creates a new builder-style object to manufacture S3EncryptionConfig
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 S3EncryptionConfig
impl Send for S3EncryptionConfig
impl Sync for S3EncryptionConfig
impl Unpin for S3EncryptionConfig
impl UnwindSafe for S3EncryptionConfig
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