Struct aws_sdk_auditmanager::types::DeregistrationPolicy
source · #[non_exhaustive]pub struct DeregistrationPolicy {
pub delete_resources: Option<DeleteResources>,
}Expand description
The deregistration policy for the data that's stored in Audit Manager. You can use this attribute to determine how your data is handled when you deregister Audit Manager.
By default, Audit Manager retains evidence data for two years from the time of its creation. Other Audit Manager resources (including assessments, custom controls, and custom frameworks) remain in Audit Manager indefinitely, and are available if you re-register Audit Manager in the future. For more information about data retention, see Data Protection in the Audit Manager User Guide.
If you choose to delete all data, this action permanently deletes all evidence data in your account within seven days. It also deletes all of the Audit Manager resources that you created, including assessments, custom controls, and custom frameworks. Your data will not be available if you re-register Audit Manager in the future.
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.delete_resources: Option<DeleteResources>Specifies which Audit Manager data will be deleted when you deregister Audit Manager.
-
If you set the value to
ALL, all of your data is deleted within seven days of deregistration. -
If you set the value to
DEFAULT, none of your data is deleted at the time of deregistration. However, keep in mind that the Audit Manager data retention policy still applies. As a result, any evidence data will be deleted two years after its creation date. Your other Audit Manager resources will continue to exist indefinitely.
Implementations§
source§impl DeregistrationPolicy
impl DeregistrationPolicy
sourcepub fn delete_resources(&self) -> Option<&DeleteResources>
pub fn delete_resources(&self) -> Option<&DeleteResources>
Specifies which Audit Manager data will be deleted when you deregister Audit Manager.
-
If you set the value to
ALL, all of your data is deleted within seven days of deregistration. -
If you set the value to
DEFAULT, none of your data is deleted at the time of deregistration. However, keep in mind that the Audit Manager data retention policy still applies. As a result, any evidence data will be deleted two years after its creation date. Your other Audit Manager resources will continue to exist indefinitely.
source§impl DeregistrationPolicy
impl DeregistrationPolicy
sourcepub fn builder() -> DeregistrationPolicyBuilder
pub fn builder() -> DeregistrationPolicyBuilder
Creates a new builder-style object to manufacture DeregistrationPolicy.
Trait Implementations§
source§impl Clone for DeregistrationPolicy
impl Clone for DeregistrationPolicy
source§fn clone(&self) -> DeregistrationPolicy
fn clone(&self) -> DeregistrationPolicy
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for DeregistrationPolicy
impl Debug for DeregistrationPolicy
source§impl PartialEq for DeregistrationPolicy
impl PartialEq for DeregistrationPolicy
source§fn eq(&self, other: &DeregistrationPolicy) -> bool
fn eq(&self, other: &DeregistrationPolicy) -> bool
self and other values to be equal, and is used
by ==.