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.AutoImportPolicy

Description

 
Synopsis

Documentation

data AutoImportPolicy Source #

Describes the data repository association's automatic import policy. The AutoImportPolicy defines how Amazon FSx keeps your file metadata and directory listings up to date by importing changes to your Amazon FSx for Lustre file system as you modify objects in a linked S3 bucket.

The AutoImportPolicy is supported only for Amazon FSx for Lustre file systems with the Persistent_2 deployment type.

See: newAutoImportPolicy smart constructor.

Constructors

AutoImportPolicy' 

Fields

  • events :: Maybe [EventType]

    The AutoImportPolicy can have the following event values:

    • NEW - Amazon FSx automatically imports metadata of files added to the linked S3 bucket that do not currently exist in the FSx file system.
    • CHANGED - Amazon FSx automatically updates file metadata and invalidates existing file content on the file system as files change in the data repository.
    • DELETED - Amazon FSx automatically deletes files on the file system as corresponding files are deleted in the data repository.

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

Instances

Instances details
FromJSON AutoImportPolicy Source # 
Instance details

Defined in Amazonka.FSx.Types.AutoImportPolicy

ToJSON AutoImportPolicy Source # 
Instance details

Defined in Amazonka.FSx.Types.AutoImportPolicy

Generic AutoImportPolicy Source # 
Instance details

Defined in Amazonka.FSx.Types.AutoImportPolicy

Associated Types

type Rep AutoImportPolicy :: Type -> Type #

Read AutoImportPolicy Source # 
Instance details

Defined in Amazonka.FSx.Types.AutoImportPolicy

Show AutoImportPolicy Source # 
Instance details

Defined in Amazonka.FSx.Types.AutoImportPolicy

NFData AutoImportPolicy Source # 
Instance details

Defined in Amazonka.FSx.Types.AutoImportPolicy

Methods

rnf :: AutoImportPolicy -> () #

Eq AutoImportPolicy Source # 
Instance details

Defined in Amazonka.FSx.Types.AutoImportPolicy

Hashable AutoImportPolicy Source # 
Instance details

Defined in Amazonka.FSx.Types.AutoImportPolicy

type Rep AutoImportPolicy Source # 
Instance details

Defined in Amazonka.FSx.Types.AutoImportPolicy

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

newAutoImportPolicy :: AutoImportPolicy Source #

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

  • NEW - Amazon FSx automatically imports metadata of files added to the linked S3 bucket that do not currently exist in the FSx file system.
  • CHANGED - Amazon FSx automatically updates file metadata and invalidates existing file content on the file system as files change in the data repository.
  • DELETED - Amazon FSx automatically deletes files on the file system as corresponding files are deleted in the data repository.

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

autoImportPolicy_events :: Lens' AutoImportPolicy (Maybe [EventType]) Source #

The AutoImportPolicy can have the following event values:

  • NEW - Amazon FSx automatically imports metadata of files added to the linked S3 bucket that do not currently exist in the FSx file system.
  • CHANGED - Amazon FSx automatically updates file metadata and invalidates existing file content on the file system as files change in the data repository.
  • DELETED - Amazon FSx automatically deletes files on the file system as corresponding files are deleted in the data repository.

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