AWS::Backup::BackupSelectionSpecifies a set of resources to assign to a backup plan. For a sample CloudFormation template, see the [AWS Backup Developer Guide](https://docs.aws.amazon.com/aws-backup/latest/devguide/assigning-resources.html#assigning-resources-cfn) .
import { CfnBackupSelection } from 'aws-cdk-lib/aws-backup';Or use the module namespace:
import * as backup from 'aws-cdk-lib/aws-backup';
// backup.CfnBackupSelectionConfiguration passed to the constructor as CfnBackupSelectionProps.
backupPlanIdRequiredstring | IBackupPlanRefUniquely identifies a backup plan.
backupSelectionRequiredIResolvable | BackupSelectionResourceTypePropertySpecifies 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.
This L1 construct maps directly to the following CloudFormation resource type.
Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to Newsletteraws-backupAWS::Backup::BackupSelection