BackupPlanReference Struct
A reference to a BackupPlan resource.
Example
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
# 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
// 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();
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"
};
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"),
}