CfnBackupSelectionMixinProps
- class aws_cdk.mixins_preview.aws_backup.mixins.CfnBackupSelectionMixinProps(*, backup_plan_id=None, backup_selection=None)
Bases:
objectProperties for CfnBackupSelectionPropsMixin.
- Parameters:
backup_plan_id (
Optional[str]) – Uniquely identifies a backup plan.backup_selection (
Union[IResolvable,BackupSelectionResourceTypeProperty,Dict[str,Any],None]) – Specifies the body of a request to assign a set of resources to a backup plan. It includes an array of resources, an optional array of patterns to exclude resources, an optional role to provide access to the AWS service the resource belongs to, and an optional array of tags used to identify a set of resources.
- See:
- 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 # conditions: Any cfn_backup_selection_mixin_props = backup_mixins.CfnBackupSelectionMixinProps( backup_plan_id="backupPlanId", backup_selection=backup_mixins.CfnBackupSelectionPropsMixin.BackupSelectionResourceTypeProperty( conditions=conditions, iam_role_arn="iamRoleArn", list_of_tags=[backup_mixins.CfnBackupSelectionPropsMixin.ConditionResourceTypeProperty( condition_key="conditionKey", condition_type="conditionType", condition_value="conditionValue" )], not_resources=["notResources"], resources=["resources"], selection_name="selectionName" ) )
Attributes
- backup_plan_id
Uniquely identifies a backup plan.
- backup_selection
Specifies the body of a request to assign a set of resources to a backup plan.
It includes an array of resources, an optional array of patterns to exclude resources, an optional role to provide access to the AWS service the resource belongs to, and an optional array of tags used to identify a set of resources.