Struct aws_sdk_macie2::model::RevealConfiguration
source · #[non_exhaustive]pub struct RevealConfiguration { /* private fields */ }
Expand description
Specifies the configuration settings for retrieving occurrences of sensitive data reported by findings, and the status of the configuration for an Amazon Macie account. When you enable the configuration for the first time, your request must specify an Key Management Service (KMS) key. Otherwise, an error occurs. Macie uses the specified key to encrypt the sensitive data that you retrieve.
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 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() -> Builder
pub fn builder() -> Builder
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<RevealConfiguration> for RevealConfiguration
impl PartialEq<RevealConfiguration> 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 ==
.