#[non_exhaustive]pub struct KmsServerSideEncryptionIntegration {
pub kms_key_id: Option<String>,
pub opt_in_status: Option<OptInStatus>,
pub type: Option<ServerSideEncryptionType>,
}
Expand description
Information about the KMS encryption used with DevOps Guru.
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.kms_key_id: Option<String>
Describes the specified KMS key.
To specify a KMS key, use its key ID, key ARN, alias name, or alias ARN. When using an alias name, prefix it with "alias/". If you specify a predefined Amazon Web Services alias (an Amazon Web Services alias with no key ID), Amazon Web Services KMS associates the alias with an Amazon Web Services managed key and returns its KeyId and Arn in the response. To specify a KMS key in a different Amazon Web Services account, you must use the key ARN or alias ARN.
For example:
Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab
Key ARN: arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
Alias name: alias/ExampleAlias
Alias ARN: arn:aws:kms:us-east-2:111122223333:alias/ExampleAlias
opt_in_status: Option<OptInStatus>
Specifies if DevOps Guru is enabled for customer managed keys.
type: Option<ServerSideEncryptionType>
The type of KMS key used. Customer managed keys are the KMS keys that you create. Amazon Web Services owned keys are keys that are owned and managed by DevOps Guru.
Implementations§
source§impl KmsServerSideEncryptionIntegration
impl KmsServerSideEncryptionIntegration
sourcepub fn kms_key_id(&self) -> Option<&str>
pub fn kms_key_id(&self) -> Option<&str>
Describes the specified KMS key.
To specify a KMS key, use its key ID, key ARN, alias name, or alias ARN. When using an alias name, prefix it with "alias/". If you specify a predefined Amazon Web Services alias (an Amazon Web Services alias with no key ID), Amazon Web Services KMS associates the alias with an Amazon Web Services managed key and returns its KeyId and Arn in the response. To specify a KMS key in a different Amazon Web Services account, you must use the key ARN or alias ARN.
For example:
Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab
Key ARN: arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
Alias name: alias/ExampleAlias
Alias ARN: arn:aws:kms:us-east-2:111122223333:alias/ExampleAlias
sourcepub fn opt_in_status(&self) -> Option<&OptInStatus>
pub fn opt_in_status(&self) -> Option<&OptInStatus>
Specifies if DevOps Guru is enabled for customer managed keys.
sourcepub fn type(&self) -> Option<&ServerSideEncryptionType>
pub fn type(&self) -> Option<&ServerSideEncryptionType>
The type of KMS key used. Customer managed keys are the KMS keys that you create. Amazon Web Services owned keys are keys that are owned and managed by DevOps Guru.
source§impl KmsServerSideEncryptionIntegration
impl KmsServerSideEncryptionIntegration
sourcepub fn builder() -> KmsServerSideEncryptionIntegrationBuilder
pub fn builder() -> KmsServerSideEncryptionIntegrationBuilder
Creates a new builder-style object to manufacture KmsServerSideEncryptionIntegration
.
Trait Implementations§
source§impl Clone for KmsServerSideEncryptionIntegration
impl Clone for KmsServerSideEncryptionIntegration
source§fn clone(&self) -> KmsServerSideEncryptionIntegration
fn clone(&self) -> KmsServerSideEncryptionIntegration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for KmsServerSideEncryptionIntegration
impl PartialEq for KmsServerSideEncryptionIntegration
source§fn eq(&self, other: &KmsServerSideEncryptionIntegration) -> bool
fn eq(&self, other: &KmsServerSideEncryptionIntegration) -> bool
self
and other
values to be equal, and is used
by ==
.