We recommend new projects start with resources from the AWS provider.
published on Monday, Aug 3, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
published on Monday, Aug 3, 2026 by Pulumi
Creates a custom tape pool for archiving virtual tapes with optional retention lock.
Create TapePool Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new TapePool(name: string, args: TapePoolArgs, opts?: CustomResourceOptions);@overload
def TapePool(resource_name: str,
args: TapePoolArgs,
opts: Optional[ResourceOptions] = None)
@overload
def TapePool(resource_name: str,
opts: Optional[ResourceOptions] = None,
storage_class: Optional[TapePoolStorageClass] = None,
pool_name: Optional[str] = None,
retention_lock_time_in_days: Optional[int] = None,
retention_lock_type: Optional[TapePoolRetentionLockType] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = None)func NewTapePool(ctx *Context, name string, args TapePoolArgs, opts ...ResourceOption) (*TapePool, error)public TapePool(string name, TapePoolArgs args, CustomResourceOptions? opts = null)
public TapePool(String name, TapePoolArgs args)
public TapePool(String name, TapePoolArgs args, CustomResourceOptions options)
type: aws-native:storagegateway:TapePool
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "aws-native_storagegateway_tape_pool" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args TapePoolArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args TapePoolArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args TapePoolArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args TapePoolArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args TapePoolArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
TapePool Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The TapePool resource accepts the following input properties:
- Storage
Class Pulumi.Aws Native. Storage Gateway. Tape Pool Storage Class - The storage class associated with the custom pool (S3 Glacier or S3 Glacier Deep Archive).
- Pool
Name string - The name of the custom tape pool.
- Retention
Lock intTime In Days - Tape retention lock time in days (up to 36,500 days / 100 years).
- Retention
Lock Pulumi.Type Aws Native. Storage Gateway. Tape Pool Retention Lock Type - Tape retention lock type. Governance mode allows authorized removal; compliance mode prevents all removal.
-
List<Pulumi.
Aws Native. Inputs. Tag> - A list of up to 50 tags for the tape pool.
- Storage
Class TapePool Storage Class - The storage class associated with the custom pool (S3 Glacier or S3 Glacier Deep Archive).
- Pool
Name string - The name of the custom tape pool.
- Retention
Lock intTime In Days - Tape retention lock time in days (up to 36,500 days / 100 years).
- Retention
Lock TapeType Pool Retention Lock Type - Tape retention lock type. Governance mode allows authorized removal; compliance mode prevents all removal.
-
Tag
Args - A list of up to 50 tags for the tape pool.
- storage_
class "DEEP_ARCHIVE" | "GLACIER" - The storage class associated with the custom pool (S3 Glacier or S3 Glacier Deep Archive).
- pool_
name string - The name of the custom tape pool.
- retention_
lock_ numbertime_ in_ days - Tape retention lock time in days (up to 36,500 days / 100 years).
- retention_
lock_ "COMPLIANCE" | "GOVERNANCE" | "NONE"type - Tape retention lock type. Governance mode allows authorized removal; compliance mode prevents all removal.
- list(object)
- A list of up to 50 tags for the tape pool.
- storage
Class TapePool Storage Class - The storage class associated with the custom pool (S3 Glacier or S3 Glacier Deep Archive).
- pool
Name String - The name of the custom tape pool.
- retention
Lock IntegerTime In Days - Tape retention lock time in days (up to 36,500 days / 100 years).
- retention
Lock TapeType Pool Retention Lock Type - Tape retention lock type. Governance mode allows authorized removal; compliance mode prevents all removal.
- List<Tag>
- A list of up to 50 tags for the tape pool.
- storage
Class TapePool Storage Class - The storage class associated with the custom pool (S3 Glacier or S3 Glacier Deep Archive).
- pool
Name string - The name of the custom tape pool.
- retention
Lock numberTime In Days - Tape retention lock time in days (up to 36,500 days / 100 years).
- retention
Lock TapeType Pool Retention Lock Type - Tape retention lock type. Governance mode allows authorized removal; compliance mode prevents all removal.
- Tag[]
- A list of up to 50 tags for the tape pool.
- storage_
class TapePool Storage Class - The storage class associated with the custom pool (S3 Glacier or S3 Glacier Deep Archive).
- pool_
name str - The name of the custom tape pool.
- retention_
lock_ inttime_ in_ days - Tape retention lock time in days (up to 36,500 days / 100 years).
- retention_
lock_ Tapetype Pool Retention Lock Type - Tape retention lock type. Governance mode allows authorized removal; compliance mode prevents all removal.
-
Sequence[Tag
Args] - A list of up to 50 tags for the tape pool.
- storage
Class "DEEP_ARCHIVE" | "GLACIER" - The storage class associated with the custom pool (S3 Glacier or S3 Glacier Deep Archive).
- pool
Name String - The name of the custom tape pool.
- retention
Lock NumberTime In Days - Tape retention lock time in days (up to 36,500 days / 100 years).
- retention
Lock "COMPLIANCE" | "GOVERNANCE" | "NONE"Type - Tape retention lock type. Governance mode allows authorized removal; compliance mode prevents all removal.
- List<Property Map>
- A list of up to 50 tags for the tape pool.
Outputs
All input properties are implicitly available as output properties. Additionally, the TapePool resource produces the following output properties:
Supporting Types
Tag, TagArgs
A set of tags to apply to the resource.TapePoolRetentionLockType, TapePoolRetentionLockTypeArgs
- Compliance
COMPLIANCE- Governance
GOVERNANCE- None
NONE
- Tape
Pool Retention Lock Type Compliance COMPLIANCE- Tape
Pool Retention Lock Type Governance GOVERNANCE- Tape
Pool Retention Lock Type None NONE
- "COMPLIANCE"
COMPLIANCE- "GOVERNANCE"
GOVERNANCE- "NONE"
NONE
- Compliance
COMPLIANCE- Governance
GOVERNANCE- None
NONE
- Compliance
COMPLIANCE- Governance
GOVERNANCE- None
NONE
- COMPLIANCE
COMPLIANCE- GOVERNANCE
GOVERNANCE- NONE
NONE
- "COMPLIANCE"
COMPLIANCE- "GOVERNANCE"
GOVERNANCE- "NONE"
NONE
TapePoolStorageClass, TapePoolStorageClassArgs
- Deep
Archive DEEP_ARCHIVE- Glacier
GLACIER
- Tape
Pool Storage Class Deep Archive DEEP_ARCHIVE- Tape
Pool Storage Class Glacier GLACIER
- "DEEP_ARCHIVE"
DEEP_ARCHIVE- "GLACIER"
GLACIER
- Deep
Archive DEEP_ARCHIVE- Glacier
GLACIER
- Deep
Archive DEEP_ARCHIVE- Glacier
GLACIER
- DEEP_ARCHIVE
DEEP_ARCHIVE- GLACIER
GLACIER
- "DEEP_ARCHIVE"
DEEP_ARCHIVE- "GLACIER"
GLACIER
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
published on Monday, Aug 3, 2026 by Pulumi