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

Description

 
Synopsis

Documentation

data OpenZFSClientConfiguration Source #

Specifies who can mount an OpenZFS file system and the options available while mounting the file system.

See: newOpenZFSClientConfiguration smart constructor.

Constructors

OpenZFSClientConfiguration' 

Fields

  • clients :: Text

    A value that specifies who can mount the file system. You can provide a wildcard character (*), an IP address (0.0.0.0), or a CIDR address (192.0.2.0/24). By default, Amazon FSx uses the wildcard character when specifying the client.

  • options :: NonEmpty Text

    The options to use when mounting the file system. For a list of options that you can use with Network File System (NFS), see the exports(5) - Linux man page. When choosing your options, consider the following:

    • crossmnt is used by default. If you don't specify crossmnt when changing the client configuration, you won't be able to see or access snapshots in your file system's snapshot directory.
    • sync is used by default. If you instead specify async, the system acknowledges writes before writing to disk. If the system crashes before the writes are finished, you lose the unwritten data.

Instances

Instances details
FromJSON OpenZFSClientConfiguration Source # 
Instance details

Defined in Amazonka.FSx.Types.OpenZFSClientConfiguration

ToJSON OpenZFSClientConfiguration Source # 
Instance details

Defined in Amazonka.FSx.Types.OpenZFSClientConfiguration

Generic OpenZFSClientConfiguration Source # 
Instance details

Defined in Amazonka.FSx.Types.OpenZFSClientConfiguration

Associated Types

type Rep OpenZFSClientConfiguration :: Type -> Type #

Read OpenZFSClientConfiguration Source # 
Instance details

Defined in Amazonka.FSx.Types.OpenZFSClientConfiguration

Show OpenZFSClientConfiguration Source # 
Instance details

Defined in Amazonka.FSx.Types.OpenZFSClientConfiguration

NFData OpenZFSClientConfiguration Source # 
Instance details

Defined in Amazonka.FSx.Types.OpenZFSClientConfiguration

Eq OpenZFSClientConfiguration Source # 
Instance details

Defined in Amazonka.FSx.Types.OpenZFSClientConfiguration

Hashable OpenZFSClientConfiguration Source # 
Instance details

Defined in Amazonka.FSx.Types.OpenZFSClientConfiguration

type Rep OpenZFSClientConfiguration Source # 
Instance details

Defined in Amazonka.FSx.Types.OpenZFSClientConfiguration

type Rep OpenZFSClientConfiguration = D1 ('MetaData "OpenZFSClientConfiguration" "Amazonka.FSx.Types.OpenZFSClientConfiguration" "amazonka-fsx-2.0-6W1DYEEbHPkD4DJvTvpQG4" 'False) (C1 ('MetaCons "OpenZFSClientConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "clients") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "options") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty Text))))

newOpenZFSClientConfiguration Source #

Create a value of OpenZFSClientConfiguration 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:clients:OpenZFSClientConfiguration', openZFSClientConfiguration_clients - A value that specifies who can mount the file system. You can provide a wildcard character (*), an IP address (0.0.0.0), or a CIDR address (192.0.2.0/24). By default, Amazon FSx uses the wildcard character when specifying the client.

$sel:options:OpenZFSClientConfiguration', openZFSClientConfiguration_options - The options to use when mounting the file system. For a list of options that you can use with Network File System (NFS), see the exports(5) - Linux man page. When choosing your options, consider the following:

  • crossmnt is used by default. If you don't specify crossmnt when changing the client configuration, you won't be able to see or access snapshots in your file system's snapshot directory.
  • sync is used by default. If you instead specify async, the system acknowledges writes before writing to disk. If the system crashes before the writes are finished, you lose the unwritten data.

openZFSClientConfiguration_clients :: Lens' OpenZFSClientConfiguration Text Source #

A value that specifies who can mount the file system. You can provide a wildcard character (*), an IP address (0.0.0.0), or a CIDR address (192.0.2.0/24). By default, Amazon FSx uses the wildcard character when specifying the client.

openZFSClientConfiguration_options :: Lens' OpenZFSClientConfiguration (NonEmpty Text) Source #

The options to use when mounting the file system. For a list of options that you can use with Network File System (NFS), see the exports(5) - Linux man page. When choosing your options, consider the following:

  • crossmnt is used by default. If you don't specify crossmnt when changing the client configuration, you won't be able to see or access snapshots in your file system's snapshot directory.
  • sync is used by default. If you instead specify async, the system acknowledges writes before writing to disk. If the system crashes before the writes are finished, you lose the unwritten data.