We recommend new projects start with resources from the AWS provider.
published on Monday, Sep 28, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
published on Monday, Sep 28, 2026 by Pulumi
Creates a virtual tape with a user-defined barcode on a Tape Gateway (VTL). A virtual tape is stored in Amazon S3 and can be archived to S3 Glacier or S3 Glacier Deep Archive.
Create Tape Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Tape(name: string, args: TapeArgs, opts?: CustomResourceOptions);@overload
def Tape(resource_name: str,
args: TapeArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Tape(resource_name: str,
opts: Optional[ResourceOptions] = None,
gateway_arn: Optional[str] = None,
tape_size_in_bytes: Optional[float] = None,
kms_encrypted: Optional[bool] = None,
kms_key: Optional[str] = None,
pool_id: Optional[str] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = None,
tape_barcode: Optional[str] = None,
worm: Optional[bool] = None)func NewTape(ctx *Context, name string, args TapeArgs, opts ...ResourceOption) (*Tape, error)public Tape(string name, TapeArgs args, CustomResourceOptions? opts = null)type: aws-native:storagegateway:Tape
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "aws-native_storagegateway_tape" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args TapeArgs
- 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 TapeArgs
- 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 TapeArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args TapeArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args TapeArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Tape 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 Tape resource accepts the following input properties:
- Gateway
Arn string - The Amazon Resource Name (ARN) of the Tape Gateway that hosts the virtual tape.
- Tape
Size doubleIn Bytes - The size, in bytes, of the virtual tape that you want to create.
- Kms
Encrypted bool - Set to true to use Amazon S3 server-side encryption with your own KMS key, or false to use a key managed by Amazon S3. Optional.
- Kms
Key string - The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon S3 server-side encryption. This value must be set if KMSEncrypted is true.
- Pool
Id string - The ID of the pool that you want to add your tape to for archiving. Tapes in this pool are archived in the S3 storage class that is associated with the pool.
-
List<Pulumi.
Aws Native. Inputs. Tag> - A list of up to 50 tags to assign to the virtual tape.
- Tape
Barcode string - The barcode that you want to assign to the virtual tape. Barcodes cannot be reused, even after a tape is deleted.
- Worm bool
- Set to true to create a write-once-read-many (WORM) virtual tape.
- Gateway
Arn string - The Amazon Resource Name (ARN) of the Tape Gateway that hosts the virtual tape.
- Tape
Size float64In Bytes - The size, in bytes, of the virtual tape that you want to create.
- Kms
Encrypted bool - Set to true to use Amazon S3 server-side encryption with your own KMS key, or false to use a key managed by Amazon S3. Optional.
- Kms
Key string - The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon S3 server-side encryption. This value must be set if KMSEncrypted is true.
- Pool
Id string - The ID of the pool that you want to add your tape to for archiving. Tapes in this pool are archived in the S3 storage class that is associated with the pool.
-
Tag
Args - A list of up to 50 tags to assign to the virtual tape.
- Tape
Barcode string - The barcode that you want to assign to the virtual tape. Barcodes cannot be reused, even after a tape is deleted.
- Worm bool
- Set to true to create a write-once-read-many (WORM) virtual tape.
- gateway_
arn string - The Amazon Resource Name (ARN) of the Tape Gateway that hosts the virtual tape.
- tape_
size_ numberin_ bytes - The size, in bytes, of the virtual tape that you want to create.
- kms_
encrypted bool - Set to true to use Amazon S3 server-side encryption with your own KMS key, or false to use a key managed by Amazon S3. Optional.
- kms_
key string - The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon S3 server-side encryption. This value must be set if KMSEncrypted is true.
- pool_
id string - The ID of the pool that you want to add your tape to for archiving. Tapes in this pool are archived in the S3 storage class that is associated with the pool.
- list(object)
- A list of up to 50 tags to assign to the virtual tape.
- tape_
barcode string - The barcode that you want to assign to the virtual tape. Barcodes cannot be reused, even after a tape is deleted.
- worm bool
- Set to true to create a write-once-read-many (WORM) virtual tape.
- gateway
Arn String - The Amazon Resource Name (ARN) of the Tape Gateway that hosts the virtual tape.
- tape
Size DoubleIn Bytes - The size, in bytes, of the virtual tape that you want to create.
- kms
Encrypted Boolean - Set to true to use Amazon S3 server-side encryption with your own KMS key, or false to use a key managed by Amazon S3. Optional.
- kms
Key String - The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon S3 server-side encryption. This value must be set if KMSEncrypted is true.
- pool
Id String - The ID of the pool that you want to add your tape to for archiving. Tapes in this pool are archived in the S3 storage class that is associated with the pool.
- List<Tag>
- A list of up to 50 tags to assign to the virtual tape.
- tape
Barcode String - The barcode that you want to assign to the virtual tape. Barcodes cannot be reused, even after a tape is deleted.
- worm Boolean
- Set to true to create a write-once-read-many (WORM) virtual tape.
- gateway
Arn string - The Amazon Resource Name (ARN) of the Tape Gateway that hosts the virtual tape.
- tape
Size numberIn Bytes - The size, in bytes, of the virtual tape that you want to create.
- kms
Encrypted boolean - Set to true to use Amazon S3 server-side encryption with your own KMS key, or false to use a key managed by Amazon S3. Optional.
- kms
Key string - The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon S3 server-side encryption. This value must be set if KMSEncrypted is true.
- pool
Id string - The ID of the pool that you want to add your tape to for archiving. Tapes in this pool are archived in the S3 storage class that is associated with the pool.
- Tag[]
- A list of up to 50 tags to assign to the virtual tape.
- tape
Barcode string - The barcode that you want to assign to the virtual tape. Barcodes cannot be reused, even after a tape is deleted.
- worm boolean
- Set to true to create a write-once-read-many (WORM) virtual tape.
- gateway_
arn str - The Amazon Resource Name (ARN) of the Tape Gateway that hosts the virtual tape.
- tape_
size_ floatin_ bytes - The size, in bytes, of the virtual tape that you want to create.
- kms_
encrypted bool - Set to true to use Amazon S3 server-side encryption with your own KMS key, or false to use a key managed by Amazon S3. Optional.
- kms_
key str - The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon S3 server-side encryption. This value must be set if KMSEncrypted is true.
- pool_
id str - The ID of the pool that you want to add your tape to for archiving. Tapes in this pool are archived in the S3 storage class that is associated with the pool.
-
Sequence[Tag
Args] - A list of up to 50 tags to assign to the virtual tape.
- tape_
barcode str - The barcode that you want to assign to the virtual tape. Barcodes cannot be reused, even after a tape is deleted.
- worm bool
- Set to true to create a write-once-read-many (WORM) virtual tape.
- gateway
Arn String - The Amazon Resource Name (ARN) of the Tape Gateway that hosts the virtual tape.
- tape
Size NumberIn Bytes - The size, in bytes, of the virtual tape that you want to create.
- kms
Encrypted Boolean - Set to true to use Amazon S3 server-side encryption with your own KMS key, or false to use a key managed by Amazon S3. Optional.
- kms
Key String - The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon S3 server-side encryption. This value must be set if KMSEncrypted is true.
- pool
Id String - The ID of the pool that you want to add your tape to for archiving. Tapes in this pool are archived in the S3 storage class that is associated with the pool.
- List<Property Map>
- A list of up to 50 tags to assign to the virtual tape.
- tape
Barcode String - The barcode that you want to assign to the virtual tape. Barcodes cannot be reused, even after a tape is deleted.
- worm Boolean
- Set to true to create a write-once-read-many (WORM) virtual tape.
Outputs
All input properties are implicitly available as output properties. Additionally, the Tape resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Tape
Arn string - The Amazon Resource Name (ARN) of the virtual tape.
- Tape
Created stringDate - The date and time that the virtual tape was created.
- Tape
Status string - The current status of the virtual tape.
- Tape
Used doubleIn Bytes - The size, in bytes, of data stored on the virtual tape.
- Id string
- The provider-assigned unique ID for this managed resource.
- Tape
Arn string - The Amazon Resource Name (ARN) of the virtual tape.
- Tape
Created stringDate - The date and time that the virtual tape was created.
- Tape
Status string - The current status of the virtual tape.
- Tape
Used float64In Bytes - The size, in bytes, of data stored on the virtual tape.
- id string
- The provider-assigned unique ID for this managed resource.
- tape_
arn string - The Amazon Resource Name (ARN) of the virtual tape.
- tape_
created_ stringdate - The date and time that the virtual tape was created.
- tape_
status string - The current status of the virtual tape.
- tape_
used_ numberin_ bytes - The size, in bytes, of data stored on the virtual tape.
- id String
- The provider-assigned unique ID for this managed resource.
- tape
Arn String - The Amazon Resource Name (ARN) of the virtual tape.
- tape
Created StringDate - The date and time that the virtual tape was created.
- tape
Status String - The current status of the virtual tape.
- tape
Used DoubleIn Bytes - The size, in bytes, of data stored on the virtual tape.
- id string
- The provider-assigned unique ID for this managed resource.
- tape
Arn string - The Amazon Resource Name (ARN) of the virtual tape.
- tape
Created stringDate - The date and time that the virtual tape was created.
- tape
Status string - The current status of the virtual tape.
- tape
Used numberIn Bytes - The size, in bytes, of data stored on the virtual tape.
- id str
- The provider-assigned unique ID for this managed resource.
- tape_
arn str - The Amazon Resource Name (ARN) of the virtual tape.
- tape_
created_ strdate - The date and time that the virtual tape was created.
- tape_
status str - The current status of the virtual tape.
- tape_
used_ floatin_ bytes - The size, in bytes, of data stored on the virtual tape.
- id String
- The provider-assigned unique ID for this managed resource.
- tape
Arn String - The Amazon Resource Name (ARN) of the virtual tape.
- tape
Created StringDate - The date and time that the virtual tape was created.
- tape
Status String - The current status of the virtual tape.
- tape
Used NumberIn Bytes - The size, in bytes, of data stored on the virtual tape.
Supporting Types
Tag, TagArgs
A set of tags to apply to the resource.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, Sep 28, 2026 by Pulumi