CfnTapeProps
- class aws_cdk.aws_storagegateway.CfnTapeProps(*, gateway_arn, tape_size_in_bytes, kms_encrypted=None, kms_key=None, pool_id=None, tags=None, tape_barcode=None, worm=None)
Bases:
objectProperties for defining a
CfnTape.- Parameters:
gateway_arn (
str) – The Amazon Resource Name (ARN) of the Tape Gateway that hosts the virtual tape.tape_size_in_bytes (
Union[int,float]) – The size, in bytes, of the virtual tape that you want to create.kms_encrypted (
Union[bool,IResolvable,None]) – 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 (
Optional[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 (
Optional[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.tags (
Optional[Sequence[Union[CfnTag,Dict[str,Any]]]]) – A list of up to 50 tags to assign to the virtual tape.tape_barcode (
Optional[str]) – The barcode that you want to assign to the virtual tape. Barcodes cannot be reused, even after a tape is deleted.worm (
Union[bool,IResolvable,None]) – Set to true to create a write-once-read-many (WORM) virtual tape.
- See:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-storagegateway-tape.html
- ExampleMetadata:
fixture=_generated
Example:
from aws_cdk import CfnTag # The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_storagegateway as storagegateway cfn_tape_props = storagegateway.CfnTapeProps( gateway_arn="gatewayArn", tape_size_in_bytes=123, # the properties below are optional kms_encrypted=False, kms_key="kmsKey", pool_id="poolId", tags=[CfnTag( key="key", value="value" )], tape_barcode="tapeBarcode", worm=False )
Attributes
- gateway_arn
The Amazon Resource Name (ARN) of the Tape Gateway that hosts the virtual tape.
- kms_encrypted
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
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
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.
- tags
A list of up to 50 tags to assign to the virtual tape.
- tape_barcode
The barcode that you want to assign to the virtual tape.
Barcodes cannot be reused, even after a tape is deleted.
- tape_size_in_bytes
The size, in bytes, of the virtual tape that you want to create.
- worm
Set to true to create a write-once-read-many (WORM) virtual tape.