Skip to content
v2.278.0

BackupVaultReference Struct ​

A reference to a BackupVault 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 backupVaultReference: interfaces_backup.BackupVaultReference = {
  backupVaultArn: 'backupVaultArn',
  backupVaultName: 'backupVaultName',
};
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_vault_reference = interfaces_backup.BackupVaultReference(
    backup_vault_arn="backupVaultArn",
    backup_vault_name="backupVaultName"
)
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.*;

BackupVaultReference backupVaultReference = BackupVaultReference.builder()
        .backupVaultArn("backupVaultArn")
        .backupVaultName("backupVaultName")
        .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 backupVaultReference = new BackupVaultReference {
    BackupVaultArn = "backupVaultArn",
    BackupVaultName = "backupVaultName"
};
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"

backupVaultReference := &BackupVaultReference{
	BackupVaultArn: jsii.String("backupVaultArn"),
	BackupVaultName: jsii.String("backupVaultName"),
}

Properties ​

backupVaultArnstringbackup_vault_arnstrbackupVaultArnStringBackupVaultArnstringBackupVaultArn*string required #
The ARN of the BackupVault resource.
backupVaultNamestringbackup_vault_namestrbackupVaultNameStringBackupVaultNamestringBackupVaultName*string required #
The BackupVaultName of the BackupVault resource.