Struct aws_sdk_macie2::types::RevealConfiguration
source · #[non_exhaustive]pub struct RevealConfiguration {
pub kms_key_id: Option<String>,
pub status: Option<RevealStatus>,
}
Expand description
Specifies the status of the Amazon Macie configuration for retrieving occurrences of sensitive data reported by findings, and the Key Management Service (KMS) key to use to encrypt sensitive data that's retrieved. When you enable the configuration for the first time, your request must specify an KMS key. Otherwise, an error occurs.
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>
The Amazon Resource Name (ARN), ID, or alias of the KMS key to use to encrypt sensitive data that's retrieved. The key must be an existing, customer managed, symmetric encryption key that's enabled in the same Amazon Web Services Region as the Amazon Macie account.
If this value specifies an alias, it must include the following prefix: alias/. If this value specifies a key that's owned by another Amazon Web Services account, it must specify the ARN of the key or the ARN of the key's alias.
status: Option<RevealStatus>
The status of the configuration for the Amazon Macie account. In a request, valid values are: ENABLED, enable the configuration for the account; and, DISABLED, disable the configuration for the account. In a response, possible values are: ENABLED, the configuration is currently enabled for the account; and, DISABLED, the configuration is currently disabled for the account.
Implementations§
source§impl RevealConfiguration
impl RevealConfiguration
sourcepub fn kms_key_id(&self) -> Option<&str>
pub fn kms_key_id(&self) -> Option<&str>
The Amazon Resource Name (ARN), ID, or alias of the KMS key to use to encrypt sensitive data that's retrieved. The key must be an existing, customer managed, symmetric encryption key that's enabled in the same Amazon Web Services Region as the Amazon Macie account.
If this value specifies an alias, it must include the following prefix: alias/. If this value specifies a key that's owned by another Amazon Web Services account, it must specify the ARN of the key or the ARN of the key's alias.
sourcepub fn status(&self) -> Option<&RevealStatus>
pub fn status(&self) -> Option<&RevealStatus>
The status of the configuration for the Amazon Macie account. In a request, valid values are: ENABLED, enable the configuration for the account; and, DISABLED, disable the configuration for the account. In a response, possible values are: ENABLED, the configuration is currently enabled for the account; and, DISABLED, the configuration is currently disabled for the account.
source§impl RevealConfiguration
impl RevealConfiguration
sourcepub fn builder() -> RevealConfigurationBuilder
pub fn builder() -> RevealConfigurationBuilder
Creates a new builder-style object to manufacture RevealConfiguration
.
Trait Implementations§
source§impl Clone for RevealConfiguration
impl Clone for RevealConfiguration
source§fn clone(&self) -> RevealConfiguration
fn clone(&self) -> RevealConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for RevealConfiguration
impl Debug for RevealConfiguration
source§impl PartialEq for RevealConfiguration
impl PartialEq for RevealConfiguration
source§fn eq(&self, other: &RevealConfiguration) -> bool
fn eq(&self, other: &RevealConfiguration) -> bool
self
and other
values to be equal, and is used
by ==
.