interface CfnBackupPlanProps
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Backup.CfnBackupPlanProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsbackup#CfnBackupPlanProps |
Java | software.amazon.awscdk.services.backup.CfnBackupPlanProps |
Python | aws_cdk.aws_backup.CfnBackupPlanProps |
TypeScript | aws-cdk-lib » aws_backup » CfnBackupPlanProps |
Properties for defining a CfnBackupPlan
.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-backup-backupplan.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_backup as backup } from 'aws-cdk-lib';
declare const backupOptions: any;
const cfnBackupPlanProps: backup.CfnBackupPlanProps = {
backupPlan: {
backupPlanName: 'backupPlanName',
backupPlanRule: [{
ruleName: 'ruleName',
targetBackupVault: 'targetBackupVault',
// the properties below are optional
completionWindowMinutes: 123,
copyActions: [{
destinationBackupVaultArn: 'destinationBackupVaultArn',
// the properties below are optional
lifecycle: {
deleteAfterDays: 123,
moveToColdStorageAfterDays: 123,
optInToArchiveForSupportedResources: false,
},
}],
enableContinuousBackup: false,
lifecycle: {
deleteAfterDays: 123,
moveToColdStorageAfterDays: 123,
optInToArchiveForSupportedResources: false,
},
recoveryPointTags: {
recoveryPointTagsKey: 'recoveryPointTags',
},
scheduleExpression: 'scheduleExpression',
scheduleExpressionTimezone: 'scheduleExpressionTimezone',
startWindowMinutes: 123,
}],
// the properties below are optional
advancedBackupSettings: [{
backupOptions: backupOptions,
resourceType: 'resourceType',
}],
},
// the properties below are optional
backupPlanTags: {
backupPlanTagsKey: 'backupPlanTags',
},
};
Properties
Name | Type | Description |
---|---|---|
backup | IResolvable | Backup | Uniquely identifies the backup plan to be associated with the selection of resources. |
backup | { [string]: string } | The tags to assign to the backup plan. |
backupPlan
Type:
IResolvable
|
Backup
Uniquely identifies the backup plan to be associated with the selection of resources.
backupPlanTags?
Type:
{ [string]: string }
(optional)
The tags to assign to the backup plan.