Skip to main content

GitHub npm (scoped) PyPI Nuget Sonatype Nexus (Releases) GitHub Workflow Status (branch) GitHub release (latest SemVer) Gitpod ready-to-code

CDK DynamoDB Backup & Restore

Backup and restore AWS DynamoDB Table with AWS Data Pipeline.

Install

TypeScript

npm install @pepperize/cdk-dynamodb-backup

or

yarn add @pepperize/cdk-dynamodb-backup

Python

pip install pepperize.cdk-dynamodb-backup

C# / .Net

dotnet add package Pepperize.CDK.DynamodbBackup

Java

<dependency>
  <groupId>com.pepperize</groupId>
  <artifactId>cdk-dynamodb-backup</artifactId>
  <version>${cdkDynamodbBackup.version}</version>
</dependency>

Usage

See API.md.

Backup

Export data from AWS DynamoDB to AWS S3

const table = new aws_dynamodb.Table(stack, "Table", {
  partitionKey: { name: "id", type: dynamodb.AttributeType.STRING },
});
const bucket = new aws_s3.Bucket(stack, "Bucket", {});

// When
new DataPipelineBackup(stack, "Account", {
  table: table,
  backupBucket: bucket,
});

See Exporting Data From DynamoDB to Amazon S3

Restore

Import data from AWS S3 into AWS DynamoDB

const table = new aws_dynamodb.Table(stack, "Table", {
  partitionKey: { name: "id", type: dynamodb.AttributeType.STRING },
});
const bucket = new aws_s3.Bucket(stack, "Bucket", {});

// When
new DataPipelineRestore(stack, "Restore", {
  table: table,
  restoreBucket: bucket,
  restoreFolder: "/prefix/to/folder/with/manifest",
});

See Importing Data From Amazon S3 to DynamoDB

Metadata

Release files for pepperize.cdk-dynamodb-backup 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pepperize.cdk-dynamodb-backup 0.1.0
File Size Uploaded Provenance Actions
pepperize_cdk_dynamodb_backup-0.1.0.tar.gz 51.0 kB Without provenance Details for pepperize_cdk_dynamodb_backup-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pepperize.cdk-dynamodb-backup 0.1.0
File Interpreter ABI Platform Actions
pepperize_cdk_dynamodb_backup-0.1.0-py3-none-any.whl Python 3 none any Details for pepperize_cdk_dynamodb_backup-0.1.0-py3-none-any.whl

Total release size: 102.3 kB

Release files / pepperize_cdk_dynamodb_backup-0.1.0.tar.gz

Download URL pepperize_cdk_dynamodb_backup-0.1.0.tar.gz
Size 51.0 kB
Tags Source
SHA-256 checksum
How to use checksums
a8b0bd942ce13b76b055d16646ab0fbd1527935d0af5c9f1f63cf73f948cf4af
BLAKE2b-256 checksum
How to use checksums
b079900bc3e4d9b66594aac99b56fb572d3cf4e619327fce624233999b66cd24
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.15.2

Release files / pepperize_cdk_dynamodb_backup-0.1.0-py3-none-any.whl

Download URL pepperize_cdk_dynamodb_backup-0.1.0-py3-none-any.whl
Size 51.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e7f3aa16d38b733b7bebb6a855ca2b8653ada63afa49084bd2bcc372bdc0a979
BLAKE2b-256 checksum
How to use checksums
8a2ff2219be77cbd9a1da3541e1225ea02149b1efe0b41e5ea8d39cf87aa3a77
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.15.2

Security for pepperize.cdk-dynamodb-backup 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page