CfnTapeMixinProps
- class aws_cdk.cfn_property_mixins.aws_storagegateway.CfnTapeMixinProps(*, gateway_arn=None, kms_encrypted=None, kms_key=None, pool_id=None, tags=None, tape_barcode=None, tape_size_in_bytes=None, worm=None)
Bases:
objectProperties for CfnTapePropsMixin.
- Parameters:
gateway_arn (
Optional[str]) – The Amazon Resource Name (ARN) of the Tape Gateway that hosts the virtual tape.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.tape_size_in_bytes (
Union[int,float,None]) – The size, in bytes, of the virtual tape that you want to create.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.cfn_property_mixins import aws_storagegateway as storagegateway cfn_tape_mixin_props = storagegateway.CfnTapeMixinProps( gateway_arn="gatewayArn", kms_encrypted=False, kms_key="kmsKey", pool_id="poolId", tags=[CfnTag( key="key", value="value" )], tape_barcode="tapeBarcode", tape_size_in_bytes=123, 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.