interface BackupPlanResourceTypeProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Backup.CfnBackupPlan.BackupPlanResourceTypeProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsbackup#CfnBackupPlan_BackupPlanResourceTypeProperty |
![]() | software.amazon.awscdk.services.backup.CfnBackupPlan.BackupPlanResourceTypeProperty |
![]() | aws_cdk.aws_backup.CfnBackupPlan.BackupPlanResourceTypeProperty |
![]() | aws-cdk-lib » aws_backup » CfnBackupPlan » BackupPlanResourceTypeProperty |
Specifies an object containing properties used to create a backup plan.
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 backupPlanResourceTypeProperty: backup.CfnBackupPlan.BackupPlanResourceTypeProperty = {
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',
}],
};
Properties
Name | Type | Description |
---|---|---|
backup | string | The display name of a backup plan. |
backup | IResolvable | IResolvable | Backup [] | An array of BackupRule objects, each of which specifies a scheduled task that is used to back up a selection of resources. |
advanced | IResolvable | IResolvable | Advanced [] | A list of backup options for each resource type. |
backupPlanName
Type:
string
The display name of a backup plan.
backupPlanRule
Type:
IResolvable
|
IResolvable
|
Backup
[]
An array of BackupRule
objects, each of which specifies a scheduled task that is used to back up a selection of resources.
advancedBackupSettings?
Type:
IResolvable
|
IResolvable
|
Advanced
[]
(optional)
A list of backup options for each resource type.