We recommend new projects start with resources from the AWS provider.
published on Wednesday, Nov 18, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
published on Wednesday, Nov 18, 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:
Look up Existing TapePool Resource
Get an existing TapePool resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, opts?: CustomResourceOptions): TapePool@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None) -> TapePoolfunc GetTapePool(ctx *Context, name string, id IDInput, state *TapePoolState, opts ...ResourceOption) (*TapePool, error)public static TapePool Get(string name, Input<string> id, CustomResourceOptions? opts = null)public static TapePool get(String name, Output<String> id, CustomResourceOptions options)resources: existingTapePool: type: aws-native:storagegateway:TapePool get: id: ${id}import {
to = aws-native_storagegateway_tape_pool.example
id = "${id}"
}
- name string
- The unique name of the resulting resource.
- id Input<ID>
- The unique provider ID of the resource to look up.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resulting resource.
- id str
- The unique provider ID of the resource to look up.
- 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 resulting resource.
- id IDInput
- The unique provider ID of the resource to look up.
- state TapePoolState
- Pass nil. This resource has no state arguments.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resulting resource.
- id Input<string>
- The unique provider ID of the resource to look up.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resulting resource.
- id Output<String>
- The unique provider ID of the resource to look up.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Supporting Types
Tag, TagArgs
A set of tags to apply to the resource.
TapePoolRetentionLockType
Tape retention lock type. Governance mode allows authorized removal; compliance mode prevents all removal.
| Name | Value |
|---|---|
| Compliance | COMPLIANCE |
| Governance | GOVERNANCE |
| None | NONE |
| Name | Value |
|---|---|
| Tape | COMPLIANCE |
| Tape | GOVERNANCE |
| Tape | NONE |
| Value |
|---|
COMPLIANCE |
GOVERNANCE |
NONE |
| Name | Value |
|---|---|
| Compliance | COMPLIANCE |
| Governance | GOVERNANCE |
| None | NONE |
| Name | Value |
|---|---|
| Compliance | COMPLIANCE |
| Governance | GOVERNANCE |
| None | NONE |
| Name | Value |
|---|---|
| COMPLIANCE | COMPLIANCE |
| GOVERNANCE | GOVERNANCE |
| NONE | NONE |
| Value |
|---|
COMPLIANCE |
GOVERNANCE |
NONE |
TapePoolStorageClass
The storage class associated with the custom pool (S3 Glacier or S3 Glacier Deep Archive).
| Name | Value |
|---|---|
| Deep | DEEP_ARCHIVE |
| Glacier | GLACIER |
| Name | Value |
|---|---|
| Tape | DEEP_ARCHIVE |
| Tape | GLACIER |
| Value |
|---|
DEEP_ARCHIVE |
GLACIER |
| Name | Value |
|---|---|
| Deep | DEEP_ARCHIVE |
| Glacier | GLACIER |
| Name | Value |
|---|---|
| Deep | DEEP_ARCHIVE |
| Glacier | GLACIER |
| Name | Value |
|---|---|
| DEEP_ARCHIVE | DEEP_ARCHIVE |
| GLACIER | GLACIER |
| Value |
|---|
DEEP_ARCHIVE |
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 Wednesday, Nov 18, 2026 by Pulumi