interface CfnBackupSelectionProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Backup.CfnBackupSelectionProps |
Java | software.amazon.awscdk.services.backup.CfnBackupSelectionProps |
Python | aws_cdk.aws_backup.CfnBackupSelectionProps |
TypeScript | @aws-cdk/aws-backup » CfnBackupSelectionProps |
Properties for defining a CfnBackupSelection.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as backup from '@aws-cdk/aws-backup';
declare const conditions: any;
const cfnBackupSelectionProps: backup.CfnBackupSelectionProps = {
backupPlanId: 'backupPlanId',
backupSelection: {
iamRoleArn: 'iamRoleArn',
selectionName: 'selectionName',
// the properties below are optional
conditions: conditions,
listOfTags: [{
conditionKey: 'conditionKey',
conditionType: 'conditionType',
conditionValue: 'conditionValue',
}],
notResources: ['notResources'],
resources: ['resources'],
},
};
Properties
| Name | Type | Description |
|---|---|---|
| backup | string | Uniquely identifies a backup plan. |
| backup | IResolvable | Backup | Specifies the body of a request to assign a set of resources to a backup plan. |
backupPlanId
Type:
string
Uniquely identifies a backup plan.
backupSelection
Type:
IResolvable | Backup
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.

.NET
Java
Python
TypeScript