Skip to content
v2.273.0

CfnTapeProps Struct ​

Properties for defining a CfnTape.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_storagegateway as storagegateway } from 'aws-cdk-lib';
const cfnTapeProps: storagegateway.CfnTapeProps = {
  gatewayArn: 'gatewayArn',
  tapeSizeInBytes: 123,

  // the properties below are optional
  kmsEncrypted: false,
  kmsKey: 'kmsKey',
  poolId: 'poolId',
  tags: [{
    key: 'key',
    value: 'value',
  }],
  tapeBarcode: 'tapeBarcode',
  worm: false,
};

Properties ​

gatewayArnstringgateway_arnstrgatewayArnStringGatewayArnstringGatewayArn*stringrequired#
The Amazon Resource Name (ARN) of the Tape Gateway that hosts the virtual tape.
kmsEncryptedboolean | IResolvablekms_encryptedtyping.Union[bool, IResolvable]kmsEncryptedBooleanKmsEncryptedboolKmsEncryptedinterface{}#
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.

kmsKeystringkms_keystrkmsKeyStringKmsKeystringKmsKey*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.

poolIdstringpool_idstrpoolIdStringPoolIdstringPoolId*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.

tagsCfnTag[]tagstyping.List[CfnTag]tagsList<CfnTag>TagsCfnTag[]Tags*[]CfnTag#
A list of up to 50 tags to assign to the virtual tape.
tapeBarcodestringtape_barcodestrtapeBarcodeStringTapeBarcodestringTapeBarcode*string#
The barcode that you want to assign to the virtual tape.

Barcodes cannot be reused, even after a tape is deleted.

tapeSizeInBytesnumbertape_size_in_bytesint | floattapeSizeInBytesNumberTapeSizeInBytesdoubleTapeSizeInBytes*float64required#
The size, in bytes, of the virtual tape that you want to create.
wormboolean | IResolvablewormtyping.Union[bool, IResolvable]wormBooleanWormboolWorminterface{}#
Set to true to create a write-once-read-many (WORM) virtual tape.

Used as props by ​