amazonka-fsx-2.0: Amazon FSx 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.FSx.Types.AutoExportPolicy

Description

 
Synopsis

Documentation

data AutoExportPolicy Source #

Describes a data repository association's automatic export policy. The AutoExportPolicy defines the types of updated objects on the file system that will be automatically exported to the data repository. As you create, modify, or delete files, Amazon FSx for Lustre automatically exports the defined changes asynchronously once your application finishes modifying the file.

This AutoExportPolicy is supported only for Amazon FSx for Lustre file systems with the Persistent_2 deployment type.

See: newAutoExportPolicy smart constructor.

Constructors

AutoExportPolicy' 

Fields

  • events :: Maybe [EventType]

    The AutoExportPolicy can have the following event values:

    • NEW - New files and directories are automatically exported to the data repository as they are added to the file system.
    • CHANGED - Changes to files and directories on the file system are automatically exported to the data repository.
    • DELETED - Files and directories are automatically deleted on the data repository when they are deleted on the file system.

    You can define any combination of event types for your AutoExportPolicy.

Instances

Instances details
FromJSON AutoExportPolicy Source # 
Instance details

Defined in Amazonka.FSx.Types.AutoExportPolicy

ToJSON AutoExportPolicy Source # 
Instance details

Defined in Amazonka.FSx.Types.AutoExportPolicy

Generic AutoExportPolicy Source # 
Instance details

Defined in Amazonka.FSx.Types.AutoExportPolicy

Associated Types

type Rep AutoExportPolicy :: Type -> Type #

Read AutoExportPolicy Source # 
Instance details

Defined in Amazonka.FSx.Types.AutoExportPolicy

Show AutoExportPolicy Source # 
Instance details

Defined in Amazonka.FSx.Types.AutoExportPolicy

NFData AutoExportPolicy Source # 
Instance details

Defined in Amazonka.FSx.Types.AutoExportPolicy

Methods

rnf :: AutoExportPolicy -> () #

Eq AutoExportPolicy Source # 
Instance details

Defined in Amazonka.FSx.Types.AutoExportPolicy

Hashable AutoExportPolicy Source # 
Instance details

Defined in Amazonka.FSx.Types.AutoExportPolicy

type Rep AutoExportPolicy Source # 
Instance details

Defined in Amazonka.FSx.Types.AutoExportPolicy

type Rep AutoExportPolicy = D1 ('MetaData "AutoExportPolicy" "Amazonka.FSx.Types.AutoExportPolicy" "amazonka-fsx-2.0-6W1DYEEbHPkD4DJvTvpQG4" 'False) (C1 ('MetaCons "AutoExportPolicy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "events") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [EventType]))))

newAutoExportPolicy :: AutoExportPolicy Source #

Create a value of AutoExportPolicy 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:events:AutoExportPolicy', autoExportPolicy_events - The AutoExportPolicy can have the following event values:

  • NEW - New files and directories are automatically exported to the data repository as they are added to the file system.
  • CHANGED - Changes to files and directories on the file system are automatically exported to the data repository.
  • DELETED - Files and directories are automatically deleted on the data repository when they are deleted on the file system.

You can define any combination of event types for your AutoExportPolicy.

autoExportPolicy_events :: Lens' AutoExportPolicy (Maybe [EventType]) Source #

The AutoExportPolicy can have the following event values:

  • NEW - New files and directories are automatically exported to the data repository as they are added to the file system.
  • CHANGED - Changes to files and directories on the file system are automatically exported to the data repository.
  • DELETED - Files and directories are automatically deleted on the data repository when they are deleted on the file system.

You can define any combination of event types for your AutoExportPolicy.