AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::StorageGateway::Types::CreateTapePoolInput

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing CreateTapePoolInput as input to an Aws::Client method, you can use a vanilla Hash:

{
  pool_name: "PoolName", # required
  storage_class: "DEEP_ARCHIVE", # required, accepts DEEP_ARCHIVE, GLACIER
  retention_lock_type: "COMPLIANCE", # accepts COMPLIANCE, GOVERNANCE, NONE
  retention_lock_time_in_days: 1,
  tags: [
    {
      key: "TagKey", # required
      value: "TagValue", # required
    },
  ],
}

Instance Attribute Summary collapse

Instance Attribute Details

#pool_nameString

The name of the new custom tape pool.

Returns:

  • (String)

    The name of the new custom tape pool.

#retention_lock_time_in_daysInteger

Tape retention lock time is set in days. Tape retention lock can be enabled for up to 100 years (36,500 days).

Returns:

  • (Integer)

    Tape retention lock time is set in days.

#retention_lock_typeString

Tape retention lock can be configured in two modes. When configured in governance mode, AWS accounts with specific IAM permissions are authorized to remove the tape retention lock from archived virtual tapes. When configured in compliance mode, the tape retention lock cannot be removed by any user, including the root AWS account.

Possible values:

  • COMPLIANCE
  • GOVERNANCE
  • NONE

Returns:

  • (String)

    Tape retention lock can be configured in two modes.

#storage_classString

The storage class that is associated with the new custom 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.

Possible values:

  • DEEP_ARCHIVE
  • GLACIER

Returns:

  • (String)

    The storage class that is associated with the new custom pool.

#tagsArray<Types::Tag>

A list of up to 50 tags that can be assigned to tape pool. Each tag is a key-value pair.

Valid characters for key and value are letters, spaces, and numbers representable in UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length of a tag\'s key is 128 characters, and the maximum length for a tag\'s value is 256.

Returns:

  • (Array<Types::Tag>)

    A list of up to 50 tags that can be assigned to tape pool.