amazonka-auditmanager-2.0: Amazon Audit Manager SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.AuditManager.Types.DeregistrationPolicy

Description

 
Synopsis

Documentation

data DeregistrationPolicy Source #

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.

See: newDeregistrationPolicy smart constructor.

Constructors

DeregistrationPolicy' 

Fields

  • deleteResources :: Maybe 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.

Instances

Instances details
FromJSON DeregistrationPolicy Source # 
Instance details

Defined in Amazonka.AuditManager.Types.DeregistrationPolicy

ToJSON DeregistrationPolicy Source # 
Instance details

Defined in Amazonka.AuditManager.Types.DeregistrationPolicy

Generic DeregistrationPolicy Source # 
Instance details

Defined in Amazonka.AuditManager.Types.DeregistrationPolicy

Associated Types

type Rep DeregistrationPolicy :: Type -> Type #

Read DeregistrationPolicy Source # 
Instance details

Defined in Amazonka.AuditManager.Types.DeregistrationPolicy

Show DeregistrationPolicy Source # 
Instance details

Defined in Amazonka.AuditManager.Types.DeregistrationPolicy

NFData DeregistrationPolicy Source # 
Instance details

Defined in Amazonka.AuditManager.Types.DeregistrationPolicy

Methods

rnf :: DeregistrationPolicy -> () #

Eq DeregistrationPolicy Source # 
Instance details

Defined in Amazonka.AuditManager.Types.DeregistrationPolicy

Hashable DeregistrationPolicy Source # 
Instance details

Defined in Amazonka.AuditManager.Types.DeregistrationPolicy

type Rep DeregistrationPolicy Source # 
Instance details

Defined in Amazonka.AuditManager.Types.DeregistrationPolicy

type Rep DeregistrationPolicy = D1 ('MetaData "DeregistrationPolicy" "Amazonka.AuditManager.Types.DeregistrationPolicy" "amazonka-auditmanager-2.0-FZ7GH2VR8PBBaoTT7BhtJQ" 'False) (C1 ('MetaCons "DeregistrationPolicy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "deleteResources") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DeleteResources))))

newDeregistrationPolicy :: DeregistrationPolicy Source #

Create a value of DeregistrationPolicy with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:deleteResources:DeregistrationPolicy', deregistrationPolicy_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.

deregistrationPolicy_deleteResources :: Lens' DeregistrationPolicy (Maybe DeleteResources) Source #

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.