# BackupPlanProps

Properties for a BackupPlan.

Used as props by: [BackupPlan](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_backup.BackupPlan.html)

- Source: [`aws-backup/lib/plan.ts`](https://github.com/aws/aws-cdk/blob/v2.278.0/packages/aws-cdk-lib/aws-backup/lib/plan.ts#L35)
- Type last changed: v2.234.0 · 8 Jan 2026

## Example

TypeScript:

```ts
const plan = new backup.BackupPlan(this, 'Plan', {
  windowsVss: true,
});
```

Python:

```python
plan = backup.BackupPlan(self, "Plan",
    windows_vss=True
)
```

Java:

```java
BackupPlan plan = BackupPlan.Builder.create(this, "Plan")
        .windowsVss(true)
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
var plan = new BackupPlan(this, "Plan", new BackupPlanProps {
    WindowsVss = true
});
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
plan := backup.NewBackupPlan(this, jsii.String("Plan"), &BackupPlanProps{
	WindowsVss: jsii.Boolean(true),
})
```

## Properties

- `backupPlanName`: string — The display name of the backup plan.

  **Default:** A CDK generated name

- `backupPlanRules`: [BackupPlanRule](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_backup.BackupPlanRule.html)[] — Rules for the backup plan.

  **Default:** use `addRule()` to add rules

  Use `addRule()` to add rules after
  instantiation.

- `backupVault`: [IBackupVaultRef](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.interfaces.aws_backup.IBackupVaultRef.html) — The backup vault where backups are stored.

  **Default:** use the vault defined at the rule level. If not defined a new common vault for the plan will be created

- `windowsVss`: boolean = false — Enable Windows VSS backup.
