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

Description

 
Synopsis

Documentation

data CreateOpenZFSOriginSnapshotConfiguration Source #

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

See: newCreateOpenZFSOriginSnapshotConfiguration smart constructor.

Constructors

CreateOpenZFSOriginSnapshotConfiguration' 

Fields

  • snapshotARN :: Text
     
  • copyStrategy :: 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 data from the 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.

Instances

Instances details
ToJSON CreateOpenZFSOriginSnapshotConfiguration Source # 
Instance details

Defined in Amazonka.FSx.Types.CreateOpenZFSOriginSnapshotConfiguration

Generic CreateOpenZFSOriginSnapshotConfiguration Source # 
Instance details

Defined in Amazonka.FSx.Types.CreateOpenZFSOriginSnapshotConfiguration

Read CreateOpenZFSOriginSnapshotConfiguration Source # 
Instance details

Defined in Amazonka.FSx.Types.CreateOpenZFSOriginSnapshotConfiguration

Show CreateOpenZFSOriginSnapshotConfiguration Source # 
Instance details

Defined in Amazonka.FSx.Types.CreateOpenZFSOriginSnapshotConfiguration

NFData CreateOpenZFSOriginSnapshotConfiguration Source # 
Instance details

Defined in Amazonka.FSx.Types.CreateOpenZFSOriginSnapshotConfiguration

Eq CreateOpenZFSOriginSnapshotConfiguration Source # 
Instance details

Defined in Amazonka.FSx.Types.CreateOpenZFSOriginSnapshotConfiguration

Hashable CreateOpenZFSOriginSnapshotConfiguration Source # 
Instance details

Defined in Amazonka.FSx.Types.CreateOpenZFSOriginSnapshotConfiguration

type Rep CreateOpenZFSOriginSnapshotConfiguration Source # 
Instance details

Defined in Amazonka.FSx.Types.CreateOpenZFSOriginSnapshotConfiguration

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

newCreateOpenZFSOriginSnapshotConfiguration Source #

Create a value of CreateOpenZFSOriginSnapshotConfiguration 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:snapshotARN:CreateOpenZFSOriginSnapshotConfiguration', createOpenZFSOriginSnapshotConfiguration_snapshotARN - Undocumented member.

$sel:copyStrategy:CreateOpenZFSOriginSnapshotConfiguration', createOpenZFSOriginSnapshotConfiguration_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 data from the 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.

createOpenZFSOriginSnapshotConfiguration_copyStrategy :: Lens' CreateOpenZFSOriginSnapshotConfiguration 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 data from the 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.