aws-cdk-lib.aws_backup.CfnBackupPlan.BackupPlanResourceTypeProperty

interface BackupPlanResourceTypeProperty

LanguageType name
.NETAmazon.CDK.AWS.Backup.CfnBackupPlan.BackupPlanResourceTypeProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsbackup#CfnBackupPlan_BackupPlanResourceTypeProperty
Javasoftware.amazon.awscdk.services.backup.CfnBackupPlan.BackupPlanResourceTypeProperty
Pythonaws_cdk.aws_backup.CfnBackupPlan.BackupPlanResourceTypeProperty
TypeScript 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,
      },
    }],
    enableContinuousBackup: false,
    lifecycle: {
      deleteAfterDays: 123,
      moveToColdStorageAfterDays: 123,
    },
    recoveryPointTags: {
      recoveryPointTagsKey: 'recoveryPointTags',
    },
    scheduleExpression: 'scheduleExpression',
    startWindowMinutes: 123,
  }],

  // the properties below are optional
  advancedBackupSettings: [{
    backupOptions: backupOptions,
    resourceType: 'resourceType',
  }],
};

Properties

NameTypeDescription
backupPlanNamestringThe display name of a backup plan.
backupPlanRuleIResolvable | IResolvable | BackupRuleResourceTypeProperty[]An array of BackupRule objects, each of which specifies a scheduled task that is used to back up a selection of resources.
advancedBackupSettings?IResolvable | IResolvable | AdvancedBackupSettingResourceTypeProperty[]A list of backup options for each resource type.

backupPlanName

Type: string

The display name of a backup plan.


backupPlanRule

Type: IResolvable | IResolvable | BackupRuleResourceTypeProperty[]

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 | AdvancedBackupSettingResourceTypeProperty[] (optional)

A list of backup options for each resource type.