CfnBackupPlanMixinProps

class aws_cdk.mixins_preview.aws_backup.mixins.CfnBackupPlanMixinProps(*, backup_plan=None, backup_plan_tags=None)

Bases: object

Properties for CfnBackupPlanPropsMixin.

Parameters:
  • backup_plan (Union[IResolvable, BackupPlanResourceTypeProperty, Dict[str, Any], None]) – Uniquely identifies the backup plan to be associated with the selection of resources.

  • backup_plan_tags (Optional[Mapping[str, str]]) – The tags to assign to the backup plan.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-backup-backupplan.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.mixins_preview.aws_backup import mixins as backup_mixins

# backup_options: Any

cfn_backup_plan_mixin_props = backup_mixins.CfnBackupPlanMixinProps(
    backup_plan=backup_mixins.CfnBackupPlanPropsMixin.BackupPlanResourceTypeProperty(
        advanced_backup_settings=[backup_mixins.CfnBackupPlanPropsMixin.AdvancedBackupSettingResourceTypeProperty(
            backup_options=backup_options,
            resource_type="resourceType"
        )],
        backup_plan_name="backupPlanName",
        backup_plan_rule=[backup_mixins.CfnBackupPlanPropsMixin.BackupRuleResourceTypeProperty(
            completion_window_minutes=123,
            copy_actions=[backup_mixins.CfnBackupPlanPropsMixin.CopyActionResourceTypeProperty(
                destination_backup_vault_arn="destinationBackupVaultArn",
                lifecycle=backup_mixins.CfnBackupPlanPropsMixin.LifecycleResourceTypeProperty(
                    delete_after_days=123,
                    move_to_cold_storage_after_days=123,
                    opt_in_to_archive_for_supported_resources=False
                )
            )],
            enable_continuous_backup=False,
            index_actions=[backup_mixins.CfnBackupPlanPropsMixin.IndexActionsResourceTypeProperty(
                resource_types=["resourceTypes"]
            )],
            lifecycle=backup_mixins.CfnBackupPlanPropsMixin.LifecycleResourceTypeProperty(
                delete_after_days=123,
                move_to_cold_storage_after_days=123,
                opt_in_to_archive_for_supported_resources=False
            ),
            recovery_point_tags={
                "recovery_point_tags_key": "recoveryPointTags"
            },
            rule_name="ruleName",
            schedule_expression="scheduleExpression",
            schedule_expression_timezone="scheduleExpressionTimezone",
            start_window_minutes=123,
            target_backup_vault="targetBackupVault",
            target_logically_air_gapped_backup_vault_arn="targetLogicallyAirGappedBackupVaultArn"
        )]
    ),
    backup_plan_tags={
        "backup_plan_tags_key": "backupPlanTags"
    }
)

Attributes

backup_plan

Uniquely identifies the backup plan to be associated with the selection of resources.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-backup-backupplan.html#cfn-backup-backupplan-backupplan

backup_plan_tags

The tags to assign to the backup plan.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-backup-backupplan.html#cfn-backup-backupplan-backupplantags