CfnTapePoolProps
- class aws_cdk.aws_storagegateway.CfnTapePoolProps(*, pool_name, storage_class, retention_lock_time_in_days=None, retention_lock_type=None, tags=None)
Bases:
objectProperties for defining a
CfnTapePool.- Parameters:
pool_name (
str) – The name of the custom tape pool.storage_class (
str) – The storage class associated with the custom pool (S3 Glacier or S3 Glacier Deep Archive).retention_lock_time_in_days (
Union[int,float,None]) – Tape retention lock time in days (up to 36,500 days / 100 years).retention_lock_type (
Optional[str]) – Tape retention lock type. Governance mode allows authorized removal; compliance mode prevents all removal.tags (
Optional[Sequence[Union[CfnTag,Dict[str,Any]]]]) – A list of up to 50 tags for the tape pool.
- See:
- 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_pool_props = storagegateway.CfnTapePoolProps( pool_name="poolName", storage_class="storageClass", # the properties below are optional retention_lock_time_in_days=123, retention_lock_type="retentionLockType", tags=[CfnTag( key="key", value="value" )] )
Attributes
- pool_name
The name of the custom tape pool.
- retention_lock_time_in_days
Tape retention lock time in days (up to 36,500 days / 100 years).
- retention_lock_type
Tape retention lock type.
Governance mode allows authorized removal; compliance mode prevents all removal.
- storage_class
The storage class associated with the custom pool (S3 Glacier or S3 Glacier Deep Archive).
- tags
A list of up to 50 tags for the tape pool.