Skip to content
v2.278.0

BackupReference ​

Struct External

A reference to a Backup resource.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_fsx as interfaces_fsx } from 'aws-cdk-lib/interfaces';
const backupReference: interfaces_fsx.BackupReference = {
  backupId: 'backupId',
  resourceArn: 'resourceArn',
};
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_fsx as interfaces_fsx

backup_reference = interfaces_fsx.BackupReference(
    backup_id="backupId",
    resource_arn="resourceArn"
)
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.fsx.*;

BackupReference backupReference = BackupReference.builder()
        .backupId("backupId")
        .resourceArn("resourceArn")
        .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.FSx;

var backupReference = new BackupReference {
    BackupId = "backupId",
    ResourceArn = "resourceArn"
};
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"

backupReference := &BackupReference{
	BackupId: jsii.String("backupId"),
	ResourceArn: jsii.String("resourceArn"),
}

Properties ​

backupIdstringbackup_idstrbackupIdStringBackupIdstringBackupId*string required #
The BackupId of the Backup resource.
resourceArnstringresource_arnstrresourceArnStringResourceArnstringResourceArn*string required #
The ResourceARN of the Backup resource.