Class: Aws::StorageGateway::Types::CreateTapePoolInput
- Inherits:
-
Struct
- Object
- Struct
- Aws::StorageGateway::Types::CreateTapePoolInput
- Includes:
- Aws::Structure
- Defined in:
- lib/aws-sdk-storagegateway/types.rb
Overview
When making an API call, you may pass CreateTapePoolInput data as a 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
},
],
}
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#pool_name ⇒ String
The name of the new custom tape pool.
-
#retention_lock_time_in_days ⇒ Integer
Tape retention lock time is set in days.
-
#retention_lock_type ⇒ String
Tape retention lock can be configured in two modes.
-
#storage_class ⇒ String
The storage class that is associated with the new custom pool.
-
#tags ⇒ Array<Types::Tag>
A list of up to 50 tags that can be assigned to tape pool.
Instance Attribute Details
#pool_name ⇒ String
The name of the new custom tape pool.
1911 1912 1913 1914 1915 1916 1917 1918 1919 |
# File 'lib/aws-sdk-storagegateway/types.rb', line 1911 class CreateTapePoolInput < Struct.new( :pool_name, :storage_class, :retention_lock_type, :retention_lock_time_in_days, :tags) SENSITIVE = [] include Aws::Structure end |
#retention_lock_time_in_days ⇒ Integer
Tape retention lock time is set in days. Tape retention lock can be enabled for up to 100 years (36,500 days).
1911 1912 1913 1914 1915 1916 1917 1918 1919 |
# File 'lib/aws-sdk-storagegateway/types.rb', line 1911 class CreateTapePoolInput < Struct.new( :pool_name, :storage_class, :retention_lock_type, :retention_lock_time_in_days, :tags) SENSITIVE = [] include Aws::Structure end |
#retention_lock_type ⇒ String
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.
1911 1912 1913 1914 1915 1916 1917 1918 1919 |
# File 'lib/aws-sdk-storagegateway/types.rb', line 1911 class CreateTapePoolInput < Struct.new( :pool_name, :storage_class, :retention_lock_type, :retention_lock_time_in_days, :tags) SENSITIVE = [] include Aws::Structure end |
#storage_class ⇒ String
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.
1911 1912 1913 1914 1915 1916 1917 1918 1919 |
# File 'lib/aws-sdk-storagegateway/types.rb', line 1911 class CreateTapePoolInput < Struct.new( :pool_name, :storage_class, :retention_lock_type, :retention_lock_time_in_days, :tags) SENSITIVE = [] include Aws::Structure end |
#tags ⇒ Array<Types::Tag>
A list of up to 50 tags that can be assigned to tape pool. Each tag is a key-value pair.
<note markdown=“1”> 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.
</note>
1911 1912 1913 1914 1915 1916 1917 1918 1919 |
# File 'lib/aws-sdk-storagegateway/types.rb', line 1911 class CreateTapePoolInput < Struct.new( :pool_name, :storage_class, :retention_lock_type, :retention_lock_time_in_days, :tags) SENSITIVE = [] include Aws::Structure end |