Skip to content

(aws-backup): BackupResource has limited support for Aurora RDS #16457

@james-mathiesen

Description

@james-mathiesen

BackupResource does not support RDS Aurora databases.

public static fromRdsDatabaseInstance(instance: IDatabaseInstance): BackupResource

however the type IDatabaseInstance does not encompass Aurora databases. I believe additional methods are
needed to support these additional types:

IDatabaseCluster
IServerlessCluster

Additionally, BackupResource::fromConstruct() ignores Aurora databases even though they are supported by AWS Backup.

Use Case

There is no obvious way to backup Aurora databases from the CDK even though AWS Backup fully supports them.

The escape-hatch like BackupResource::fromArn() is an effective workaround.

Metadata

Metadata

Assignees

No one assigned

    Labels

    @aws-cdk/aws-backupRelated AWS Backupeffort/smallSmall work item – less than a day of effortfeature-requestA feature should be added or improved.p2

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions