libZSservicesZSamazonka-storagegatewayZSamazonka-storagegateway
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.StorageGateway.Types.AutomaticTapeCreationRule

Description

 
Synopsis

Documentation

data AutomaticTapeCreationRule Source #

An automatic tape creation policy consists of automatic tape creation rules where each rule defines when and how to create new tapes. For more information about automatic tape creation, see Creating Tapes Automatically.

See: newAutomaticTapeCreationRule smart constructor.

Constructors

AutomaticTapeCreationRule' 

Fields

  • worm :: Maybe Bool

    Set to true to indicate that tapes are to be archived as write-once-read-many (WORM). Set to false when WORM is not enabled for tapes.

  • tapeBarcodePrefix :: Text

    A prefix that you append to the barcode of the virtual tape that you are creating. This prefix makes the barcode unique.

    The prefix must be 1-4 characters in length and must be one of the uppercase letters from A to Z.

  • poolId :: Text

    The ID of the pool that you want to add your tape to for archiving. The tape in this pool is archived in the Amazon S3 storage class that is associated with the pool. When you use your backup application to eject the tape, the tape is archived directly into the storage class (S3 Glacier or S3 Glacier Deep Archive) that corresponds to the pool.

    Valid Values: GLACIER | DEEP_ARCHIVE

  • tapeSizeInBytes :: Integer

    The size, in bytes, of the virtual tape capacity.

  • minimumNumTapes :: Natural

    The minimum number of available virtual tapes that the gateway maintains at all times. If the number of tapes on the gateway goes below this value, the gateway creates as many new tapes as are needed to have MinimumNumTapes on the gateway. For more information about automatic tape creation, see Creating Tapes Automatically.

Instances

Instances details
Eq AutomaticTapeCreationRule Source # 
Instance details

Defined in Amazonka.StorageGateway.Types.AutomaticTapeCreationRule

Read AutomaticTapeCreationRule Source # 
Instance details

Defined in Amazonka.StorageGateway.Types.AutomaticTapeCreationRule

Show AutomaticTapeCreationRule Source # 
Instance details

Defined in Amazonka.StorageGateway.Types.AutomaticTapeCreationRule

Generic AutomaticTapeCreationRule Source # 
Instance details

Defined in Amazonka.StorageGateway.Types.AutomaticTapeCreationRule

Associated Types

type Rep AutomaticTapeCreationRule :: Type -> Type #

NFData AutomaticTapeCreationRule Source # 
Instance details

Defined in Amazonka.StorageGateway.Types.AutomaticTapeCreationRule

Hashable AutomaticTapeCreationRule Source # 
Instance details

Defined in Amazonka.StorageGateway.Types.AutomaticTapeCreationRule

ToJSON AutomaticTapeCreationRule Source # 
Instance details

Defined in Amazonka.StorageGateway.Types.AutomaticTapeCreationRule

FromJSON AutomaticTapeCreationRule Source # 
Instance details

Defined in Amazonka.StorageGateway.Types.AutomaticTapeCreationRule

type Rep AutomaticTapeCreationRule Source # 
Instance details

Defined in Amazonka.StorageGateway.Types.AutomaticTapeCreationRule

type Rep AutomaticTapeCreationRule = D1 ('MetaData "AutomaticTapeCreationRule" "Amazonka.StorageGateway.Types.AutomaticTapeCreationRule" "libZSservicesZSamazonka-storagegatewayZSamazonka-storagegateway" 'False) (C1 ('MetaCons "AutomaticTapeCreationRule'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "worm") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "tapeBarcodePrefix") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "poolId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "tapeSizeInBytes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Integer) :*: S1 ('MetaSel ('Just "minimumNumTapes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Natural)))))

newAutomaticTapeCreationRule Source #

Create a value of AutomaticTapeCreationRule 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:worm:AutomaticTapeCreationRule', automaticTapeCreationRule_worm - Set to true to indicate that tapes are to be archived as write-once-read-many (WORM). Set to false when WORM is not enabled for tapes.

$sel:tapeBarcodePrefix:AutomaticTapeCreationRule', automaticTapeCreationRule_tapeBarcodePrefix - A prefix that you append to the barcode of the virtual tape that you are creating. This prefix makes the barcode unique.

The prefix must be 1-4 characters in length and must be one of the uppercase letters from A to Z.

$sel:poolId:AutomaticTapeCreationRule', automaticTapeCreationRule_poolId - The ID of the pool that you want to add your tape to for archiving. The tape in this pool is archived in the Amazon S3 storage class that is associated with the pool. When you use your backup application to eject the tape, the tape is archived directly into the storage class (S3 Glacier or S3 Glacier Deep Archive) that corresponds to the pool.

Valid Values: GLACIER | DEEP_ARCHIVE

$sel:tapeSizeInBytes:AutomaticTapeCreationRule', automaticTapeCreationRule_tapeSizeInBytes - The size, in bytes, of the virtual tape capacity.

$sel:minimumNumTapes:AutomaticTapeCreationRule', automaticTapeCreationRule_minimumNumTapes - The minimum number of available virtual tapes that the gateway maintains at all times. If the number of tapes on the gateway goes below this value, the gateway creates as many new tapes as are needed to have MinimumNumTapes on the gateway. For more information about automatic tape creation, see Creating Tapes Automatically.

automaticTapeCreationRule_worm :: Lens' AutomaticTapeCreationRule (Maybe Bool) Source #

Set to true to indicate that tapes are to be archived as write-once-read-many (WORM). Set to false when WORM is not enabled for tapes.

automaticTapeCreationRule_tapeBarcodePrefix :: Lens' AutomaticTapeCreationRule Text Source #

A prefix that you append to the barcode of the virtual tape that you are creating. This prefix makes the barcode unique.

The prefix must be 1-4 characters in length and must be one of the uppercase letters from A to Z.

automaticTapeCreationRule_poolId :: Lens' AutomaticTapeCreationRule Text Source #

The ID of the pool that you want to add your tape to for archiving. The tape in this pool is archived in the Amazon S3 storage class that is associated with the pool. When you use your backup application to eject the tape, the tape is archived directly into the storage class (S3 Glacier or S3 Glacier Deep Archive) that corresponds to the pool.

Valid Values: GLACIER | DEEP_ARCHIVE

automaticTapeCreationRule_tapeSizeInBytes :: Lens' AutomaticTapeCreationRule Integer Source #

The size, in bytes, of the virtual tape capacity.

automaticTapeCreationRule_minimumNumTapes :: Lens' AutomaticTapeCreationRule Natural Source #

The minimum number of available virtual tapes that the gateway maintains at all times. If the number of tapes on the gateway goes below this value, the gateway creates as many new tapes as are needed to have MinimumNumTapes on the gateway. For more information about automatic tape creation, see Creating Tapes Automatically.