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

Description

 
Synopsis

Documentation

data OpenZFSOriginSnapshotConfiguration Source #

The snapshot configuration to use when creating an OpenZFS volume from a snapshot.

See: newOpenZFSOriginSnapshotConfiguration smart constructor.

Constructors

OpenZFSOriginSnapshotConfiguration' 

Fields

  • copyStrategy :: Maybe OpenZFSCopyStrategy

    The strategy used when copying data from the snapshot to the new volume.

    • CLONE - The new volume references the data in the origin snapshot. Cloning a snapshot is faster than copying the data from a snapshot to a new volume and doesn't consume disk throughput. However, the origin snapshot can't be deleted if there is a volume using its copied data.
    • FULL_COPY - Copies all data from the snapshot to the new volume.
  • snapshotARN :: Maybe Text
     

Instances

Instances details
FromJSON OpenZFSOriginSnapshotConfiguration Source # 
Instance details

Defined in Amazonka.FSx.Types.OpenZFSOriginSnapshotConfiguration

Generic OpenZFSOriginSnapshotConfiguration Source # 
Instance details

Defined in Amazonka.FSx.Types.OpenZFSOriginSnapshotConfiguration

Associated Types

type Rep OpenZFSOriginSnapshotConfiguration :: Type -> Type #

Read OpenZFSOriginSnapshotConfiguration Source # 
Instance details

Defined in Amazonka.FSx.Types.OpenZFSOriginSnapshotConfiguration

Show OpenZFSOriginSnapshotConfiguration Source # 
Instance details

Defined in Amazonka.FSx.Types.OpenZFSOriginSnapshotConfiguration

NFData OpenZFSOriginSnapshotConfiguration Source # 
Instance details

Defined in Amazonka.FSx.Types.OpenZFSOriginSnapshotConfiguration

Eq OpenZFSOriginSnapshotConfiguration Source # 
Instance details

Defined in Amazonka.FSx.Types.OpenZFSOriginSnapshotConfiguration

Hashable OpenZFSOriginSnapshotConfiguration Source # 
Instance details

Defined in Amazonka.FSx.Types.OpenZFSOriginSnapshotConfiguration

type Rep OpenZFSOriginSnapshotConfiguration Source # 
Instance details

Defined in Amazonka.FSx.Types.OpenZFSOriginSnapshotConfiguration

type Rep OpenZFSOriginSnapshotConfiguration = D1 ('MetaData "OpenZFSOriginSnapshotConfiguration" "Amazonka.FSx.Types.OpenZFSOriginSnapshotConfiguration" "amazonka-fsx-2.0-6W1DYEEbHPkD4DJvTvpQG4" 'False) (C1 ('MetaCons "OpenZFSOriginSnapshotConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "copyStrategy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe OpenZFSCopyStrategy)) :*: S1 ('MetaSel ('Just "snapshotARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newOpenZFSOriginSnapshotConfiguration :: OpenZFSOriginSnapshotConfiguration Source #

Create a value of OpenZFSOriginSnapshotConfiguration 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:copyStrategy:OpenZFSOriginSnapshotConfiguration', openZFSOriginSnapshotConfiguration_copyStrategy - The strategy used when copying data from the snapshot to the new volume.

  • CLONE - The new volume references the data in the origin snapshot. Cloning a snapshot is faster than copying the data from a snapshot to a new volume and doesn't consume disk throughput. However, the origin snapshot can't be deleted if there is a volume using its copied data.
  • FULL_COPY - Copies all data from the snapshot to the new volume.

$sel:snapshotARN:OpenZFSOriginSnapshotConfiguration', openZFSOriginSnapshotConfiguration_snapshotARN - Undocumented member.

openZFSOriginSnapshotConfiguration_copyStrategy :: Lens' OpenZFSOriginSnapshotConfiguration (Maybe OpenZFSCopyStrategy) Source #

The strategy used when copying data from the snapshot to the new volume.

  • CLONE - The new volume references the data in the origin snapshot. Cloning a snapshot is faster than copying the data from a snapshot to a new volume and doesn't consume disk throughput. However, the origin snapshot can't be deleted if there is a volume using its copied data.
  • FULL_COPY - Copies all data from the snapshot to the new volume.