1. Packages
  2. Packages
  3. AWS Cloud Control
  4. API Docs
  5. storagegateway
  6. TapePool

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.74.1
published on Monday, Aug 3, 2026 by Pulumi
aws-native logo

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.74.1
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:

    StorageClass Pulumi.AwsNative.StorageGateway.TapePoolStorageClass
    The storage class associated with the custom pool (S3 Glacier or S3 Glacier Deep Archive).
    PoolName string
    The name of the custom tape pool.
    RetentionLockTimeInDays int
    Tape retention lock time in days (up to 36,500 days / 100 years).
    RetentionLockType Pulumi.AwsNative.StorageGateway.TapePoolRetentionLockType
    Tape retention lock type. Governance mode allows authorized removal; compliance mode prevents all removal.
    Tags List<Pulumi.AwsNative.Inputs.Tag>
    A list of up to 50 tags for the tape pool.
    StorageClass TapePoolStorageClass
    The storage class associated with the custom pool (S3 Glacier or S3 Glacier Deep Archive).
    PoolName string
    The name of the custom tape pool.
    RetentionLockTimeInDays int
    Tape retention lock time in days (up to 36,500 days / 100 years).
    RetentionLockType TapePoolRetentionLockType
    Tape retention lock type. Governance mode allows authorized removal; compliance mode prevents all removal.
    Tags TagArgs
    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_time_in_days number
    Tape retention lock time in days (up to 36,500 days / 100 years).
    retention_lock_type "COMPLIANCE" | "GOVERNANCE" | "NONE"
    Tape retention lock type. Governance mode allows authorized removal; compliance mode prevents all removal.
    tags list(object)
    A list of up to 50 tags for the tape pool.
    storageClass TapePoolStorageClass
    The storage class associated with the custom pool (S3 Glacier or S3 Glacier Deep Archive).
    poolName String
    The name of the custom tape pool.
    retentionLockTimeInDays Integer
    Tape retention lock time in days (up to 36,500 days / 100 years).
    retentionLockType TapePoolRetentionLockType
    Tape retention lock type. Governance mode allows authorized removal; compliance mode prevents all removal.
    tags List<Tag>
    A list of up to 50 tags for the tape pool.
    storageClass TapePoolStorageClass
    The storage class associated with the custom pool (S3 Glacier or S3 Glacier Deep Archive).
    poolName string
    The name of the custom tape pool.
    retentionLockTimeInDays number
    Tape retention lock time in days (up to 36,500 days / 100 years).
    retentionLockType TapePoolRetentionLockType
    Tape retention lock type. Governance mode allows authorized removal; compliance mode prevents all removal.
    tags Tag[]
    A list of up to 50 tags for the tape pool.
    storage_class TapePoolStorageClass
    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_time_in_days int
    Tape retention lock time in days (up to 36,500 days / 100 years).
    retention_lock_type TapePoolRetentionLockType
    Tape retention lock type. Governance mode allows authorized removal; compliance mode prevents all removal.
    tags Sequence[TagArgs]
    A list of up to 50 tags for the tape pool.
    storageClass "DEEP_ARCHIVE" | "GLACIER"
    The storage class associated with the custom pool (S3 Glacier or S3 Glacier Deep Archive).
    poolName String
    The name of the custom tape pool.
    retentionLockTimeInDays Number
    Tape retention lock time in days (up to 36,500 days / 100 years).
    retentionLockType "COMPLIANCE" | "GOVERNANCE" | "NONE"
    Tape retention lock type. Governance mode allows authorized removal; compliance mode prevents all removal.
    tags 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:

    Id string
    The provider-assigned unique ID for this managed resource.
    PoolArn string
    The Amazon Resource Name (ARN) of the custom tape pool.
    PoolId string
    The unique identifier of the custom tape pool, extracted from the ARN.
    Id string
    The provider-assigned unique ID for this managed resource.
    PoolArn string
    The Amazon Resource Name (ARN) of the custom tape pool.
    PoolId string
    The unique identifier of the custom tape pool, extracted from the ARN.
    id string
    The provider-assigned unique ID for this managed resource.
    pool_arn string
    The Amazon Resource Name (ARN) of the custom tape pool.
    pool_id string
    The unique identifier of the custom tape pool, extracted from the ARN.
    id String
    The provider-assigned unique ID for this managed resource.
    poolArn String
    The Amazon Resource Name (ARN) of the custom tape pool.
    poolId String
    The unique identifier of the custom tape pool, extracted from the ARN.
    id string
    The provider-assigned unique ID for this managed resource.
    poolArn string
    The Amazon Resource Name (ARN) of the custom tape pool.
    poolId string
    The unique identifier of the custom tape pool, extracted from the ARN.
    id str
    The provider-assigned unique ID for this managed resource.
    pool_arn str
    The Amazon Resource Name (ARN) of the custom tape pool.
    pool_id str
    The unique identifier of the custom tape pool, extracted from the ARN.
    id String
    The provider-assigned unique ID for this managed resource.
    poolArn String
    The Amazon Resource Name (ARN) of the custom tape pool.
    poolId String
    The unique identifier of the custom tape pool, extracted from the ARN.

    Supporting Types

    Tag, TagArgs

    A set of tags to apply to the resource.
    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    TapePoolRetentionLockType, TapePoolRetentionLockTypeArgs

    Compliance
    COMPLIANCE
    Governance
    GOVERNANCE
    None
    NONE
    TapePoolRetentionLockTypeCompliance
    COMPLIANCE
    TapePoolRetentionLockTypeGovernance
    GOVERNANCE
    TapePoolRetentionLockTypeNone
    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

    DeepArchive
    DEEP_ARCHIVE
    Glacier
    GLACIER
    TapePoolStorageClassDeepArchive
    DEEP_ARCHIVE
    TapePoolStorageClassGlacier
    GLACIER
    "DEEP_ARCHIVE"
    DEEP_ARCHIVE
    "GLACIER"
    GLACIER
    DeepArchive
    DEEP_ARCHIVE
    Glacier
    GLACIER
    DeepArchive
    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
    aws-native logo

    We recommend new projects start with resources from the AWS provider.

    Viewing docs for AWS Cloud Control v1.74.1
    published on Monday, Aug 3, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial