CfnLegalHoldMixinProps
- class aws_cdk.cfn_property_mixins.aws_backup.CfnLegalHoldMixinProps(*, description=None, recovery_point_selection=None, tags=None, title=None)
Bases:
objectProperties for CfnLegalHoldPropsMixin.
- Parameters:
description (
Optional[str]) – The description of the legal hold.recovery_point_selection (
Union[IResolvable,RecoveryPointSelectionProperty,Dict[str,Any],None]) – The criteria to assign a set of resources, such as resource types or backup vaults.tags (
Optional[Sequence[Union[TagsItemsProperty,Dict[str,Any]]]]) – Optional tags to include.title (
Optional[str]) – The title of the legal hold.
- See:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-backup-legalhold.html
- ExampleMetadata:
fixture=_generated
Example:
# 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_backup as backup cfn_legal_hold_mixin_props = backup.CfnLegalHoldMixinProps( description="description", recovery_point_selection=backup.CfnLegalHoldPropsMixin.RecoveryPointSelectionProperty( date_range=backup.CfnLegalHoldPropsMixin.DateRangeProperty( from_date="fromDate", to_date="toDate" ), resource_identifiers=["resourceIdentifiers"], vault_names=["vaultNames"] ), tags=[backup.CfnLegalHoldPropsMixin.TagsItemsProperty( key="key", value="value" )], title="title" )
Attributes
- description
The description of the legal hold.
- recovery_point_selection
The criteria to assign a set of resources, such as resource types or backup vaults.
- tags
Optional tags to include.
- title
The title of the legal hold.