# BackupPlanReference

A reference to a BackupPlan resource.

- Source: Generated at build time
- Type last changed: v2.224.0 · 13 Nov 2025

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_backup as interfaces_backup } from 'aws-cdk-lib/interfaces';
const backupPlanReference: interfaces_backup.BackupPlanReference = {
  backupPlanArn: 'backupPlanArn',
  backupPlanId: 'backupPlanId',
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.interfaces import aws_backup as interfaces_backup

backup_plan_reference = interfaces_backup.BackupPlanReference(
    backup_plan_arn="backupPlanArn",
    backup_plan_id="backupPlanId"
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.interfaces.backup.*;

BackupPlanReference backupPlanReference = BackupPlanReference.builder()
        .backupPlanArn("backupPlanArn")
        .backupPlanId("backupPlanId")
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Interfaces.Backup;

var backupPlanReference = new BackupPlanReference {
    BackupPlanArn = "backupPlanArn",
    BackupPlanId = "backupPlanId"
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

backupPlanReference := &BackupPlanReference{
	BackupPlanArn: jsii.String("backupPlanArn"),
	BackupPlanId: jsii.String("backupPlanId"),
}
```

## Properties

- `backupPlanArn`: string (required) — The ARN of the BackupPlan resource.

- `backupPlanId`: string (required) — The BackupPlanId of the BackupPlan resource.
