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

Description

 
Synopsis

Documentation

data S3DataRepositoryConfiguration Source #

The configuration for an Amazon S3 data repository linked to an Amazon FSx for Lustre file system with a data repository association. The configuration consists of an AutoImportPolicy that defines which file events on the data repository are automatically imported to the file system and an AutoExportPolicy that defines which file events on the file system are automatically exported to the data repository. File events are when files or directories are added, changed, or deleted on the file system or the data repository.

Data repository associations on Amazon File Cache don't use S3DataRepositoryConfiguration because they don't support automatic import or automatic export.

See: newS3DataRepositoryConfiguration smart constructor.

Constructors

S3DataRepositoryConfiguration' 

Fields

  • autoExportPolicy :: Maybe AutoExportPolicy

    Specifies the type of updated objects (new, changed, deleted) that will be automatically exported from your file system to the linked S3 bucket.

  • autoImportPolicy :: Maybe AutoImportPolicy

    Specifies the type of updated objects (new, changed, deleted) that will be automatically imported from the linked S3 bucket to your file system.

Instances

Instances details
FromJSON S3DataRepositoryConfiguration Source # 
Instance details

Defined in Amazonka.FSx.Types.S3DataRepositoryConfiguration

ToJSON S3DataRepositoryConfiguration Source # 
Instance details

Defined in Amazonka.FSx.Types.S3DataRepositoryConfiguration

Generic S3DataRepositoryConfiguration Source # 
Instance details

Defined in Amazonka.FSx.Types.S3DataRepositoryConfiguration

Associated Types

type Rep S3DataRepositoryConfiguration :: Type -> Type #

Read S3DataRepositoryConfiguration Source # 
Instance details

Defined in Amazonka.FSx.Types.S3DataRepositoryConfiguration

Show S3DataRepositoryConfiguration Source # 
Instance details

Defined in Amazonka.FSx.Types.S3DataRepositoryConfiguration

NFData S3DataRepositoryConfiguration Source # 
Instance details

Defined in Amazonka.FSx.Types.S3DataRepositoryConfiguration

Eq S3DataRepositoryConfiguration Source # 
Instance details

Defined in Amazonka.FSx.Types.S3DataRepositoryConfiguration

Hashable S3DataRepositoryConfiguration Source # 
Instance details

Defined in Amazonka.FSx.Types.S3DataRepositoryConfiguration

type Rep S3DataRepositoryConfiguration Source # 
Instance details

Defined in Amazonka.FSx.Types.S3DataRepositoryConfiguration

type Rep S3DataRepositoryConfiguration = D1 ('MetaData "S3DataRepositoryConfiguration" "Amazonka.FSx.Types.S3DataRepositoryConfiguration" "amazonka-fsx-2.0-6W1DYEEbHPkD4DJvTvpQG4" 'False) (C1 ('MetaCons "S3DataRepositoryConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "autoExportPolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AutoExportPolicy)) :*: S1 ('MetaSel ('Just "autoImportPolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AutoImportPolicy))))

newS3DataRepositoryConfiguration :: S3DataRepositoryConfiguration Source #

Create a value of S3DataRepositoryConfiguration 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:autoExportPolicy:S3DataRepositoryConfiguration', s3DataRepositoryConfiguration_autoExportPolicy - Specifies the type of updated objects (new, changed, deleted) that will be automatically exported from your file system to the linked S3 bucket.

$sel:autoImportPolicy:S3DataRepositoryConfiguration', s3DataRepositoryConfiguration_autoImportPolicy - Specifies the type of updated objects (new, changed, deleted) that will be automatically imported from the linked S3 bucket to your file system.

s3DataRepositoryConfiguration_autoExportPolicy :: Lens' S3DataRepositoryConfiguration (Maybe AutoExportPolicy) Source #

Specifies the type of updated objects (new, changed, deleted) that will be automatically exported from your file system to the linked S3 bucket.

s3DataRepositoryConfiguration_autoImportPolicy :: Lens' S3DataRepositoryConfiguration (Maybe AutoImportPolicy) Source #

Specifies the type of updated objects (new, changed, deleted) that will be automatically imported from the linked S3 bucket to your file system.