AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::Backup::BackupSelection

CfnBackupSelection

Specifies 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

import { CfnBackupSelection } from 'aws-cdk-lib/aws-backup';

Or use the module namespace:

import * as backup from 'aws-cdk-lib/aws-backup';
// backup.CfnBackupSelection

Properties

Configuration passed to the constructor as CfnBackupSelectionProps.

backupPlanIdRequired
string | IBackupPlanRef

Uniquely identifies a backup plan.

backupSelectionRequired
IResolvable | BackupSelectionResourceTypeProperty

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.

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter