libZSservicesZSamazonka-efsZSamazonka-efs
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.EFS.Types.BackupPolicy

Description

 
Synopsis

Documentation

data BackupPolicy Source #

The backup policy for the file system used to create automatic daily backups. If status has a value of ENABLED, the file system is being automatically backed up. For more information, see Automatic backups.

See: newBackupPolicy smart constructor.

Constructors

BackupPolicy' 

Fields

  • status :: BackupStatus

    Describes the status of the file system's backup policy.

    • ENABLED - EFS is automatically backing up the file system.
    • ENABLING - EFS is turning on automatic backups for the file system.
    • DISABLED - automatic back ups are turned off for the file system.
    • DISABLING - EFS is turning off automatic backups for the file system.

Instances

Instances details
Eq BackupPolicy Source # 
Instance details

Defined in Amazonka.EFS.Types.BackupPolicy

Read BackupPolicy Source # 
Instance details

Defined in Amazonka.EFS.Types.BackupPolicy

Show BackupPolicy Source # 
Instance details

Defined in Amazonka.EFS.Types.BackupPolicy

Generic BackupPolicy Source # 
Instance details

Defined in Amazonka.EFS.Types.BackupPolicy

Associated Types

type Rep BackupPolicy :: Type -> Type #

NFData BackupPolicy Source # 
Instance details

Defined in Amazonka.EFS.Types.BackupPolicy

Methods

rnf :: BackupPolicy -> () #

Hashable BackupPolicy Source # 
Instance details

Defined in Amazonka.EFS.Types.BackupPolicy

ToJSON BackupPolicy Source # 
Instance details

Defined in Amazonka.EFS.Types.BackupPolicy

FromJSON BackupPolicy Source # 
Instance details

Defined in Amazonka.EFS.Types.BackupPolicy

type Rep BackupPolicy Source # 
Instance details

Defined in Amazonka.EFS.Types.BackupPolicy

type Rep BackupPolicy = D1 ('MetaData "BackupPolicy" "Amazonka.EFS.Types.BackupPolicy" "libZSservicesZSamazonka-efsZSamazonka-efs" 'False) (C1 ('MetaCons "BackupPolicy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 BackupStatus)))

newBackupPolicy Source #

Create a value of BackupPolicy 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:status:BackupPolicy', backupPolicy_status - Describes the status of the file system's backup policy.

  • ENABLED - EFS is automatically backing up the file system.
  • ENABLING - EFS is turning on automatic backups for the file system.
  • DISABLED - automatic back ups are turned off for the file system.
  • DISABLING - EFS is turning off automatic backups for the file system.

backupPolicy_status :: Lens' BackupPolicy BackupStatus Source #

Describes the status of the file system's backup policy.

  • ENABLED - EFS is automatically backing up the file system.
  • ENABLING - EFS is turning on automatic backups for the file system.
  • DISABLED - automatic back ups are turned off for the file system.
  • DISABLING - EFS is turning off automatic backups for the file system.