@aws-cdk/aws-dynamodb-global
---This API may emit warnings. Backward compatibility is not guaranteed.
NOTICE: This module has been deprecated in favor of @aws-cdk/aws-dynamodb.Table.replicationRegions
Global Tables builds upon DynamoDB’s global footprint to provide you with a fully managed, multi-region, and multi-master database that provides fast, local, read and write performance for massively scaled, global applications. Global Tables replicates your Amazon DynamoDB tables automatically across your choice of AWS regions.
Here is a minimal deployable Global DynamoDB tables definition:
from aws_cdk.aws_dynamodb import Attribute
from aws_cdk.aws_dynamodb import AttributeType
from aws_cdk.aws_dynamodb_global import GlobalTable
from aws_cdk.core import App
app = App()
GlobalTable(app, "globdynamodb",
partition_key=Attribute(name="hashKey", type=AttributeType.STRING),
table_name="GlobalTable",
regions=["us-east-1", "us-east-2", "us-west-2"]
)
app.synth()
Implementation Notes
AWS Global DynamoDB Tables is an odd case currently. The way this package works -
- Creates a DynamoDB table in a separate stack in each
DynamoDBGlobalStackProps.regionspecified - Deploys a CFN Custom Resource to your stack's specified region that calls a lambda that runs the aws cli which calls
createGlobalTable()
Notes
GlobalTable() will set dynamoProps.stream to be NEW_AND_OLD_IMAGES since this is a required attribute for AWS Global DynamoDB tables to work. The package will throw an error if any other stream specification is set in DynamoDBGlobalStackProps.
Metadata
Release files for aws-cdk.aws-dynamodb-global 1.204.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| aws-cdk.aws-dynamodb-global-1.204.0.tar.gz | 39.3 kB | Without provenance | Details for aws-cdk.aws-dynamodb-global-1.204.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| aws_cdk.aws_dynamodb_global-1.204.0-py3-none-any.whl | Python 3 | none | any | Details for aws_cdk.aws_dynamodb_global-1.204.0-py3-none-any.whl |
Total release size: 77.6 kB
Release files / aws-cdk.aws-dynamodb-global-1.204.0.tar.gz
| Download URL | aws-cdk.aws-dynamodb-global-1.204.0.tar.gz |
|---|---|
| Size | 39.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
eb3544798a3da7a3f2c388b411941d575750f0025cf60f830c26f1841fc83b61
|
|
BLAKE2b-256 checksum How to use checksums |
07eb1c639e7c1e9ddbf5a0dfd752d052278d01aa8622e7e787d8193c55874543
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.2
|
Release files / aws_cdk.aws_dynamodb_global-1.204.0-py3-none-any.whl
| Download URL | aws_cdk.aws_dynamodb_global-1.204.0-py3-none-any.whl |
|---|---|
| Size | 38.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ff9f0d115fbbd38bf7dc66fcb6a6206ec6d659b4a699d34620e5fc0fc8b5539f
|
|
BLAKE2b-256 checksum How to use checksums |
b34e30a1539051cca2a83639b6ddc494d1d0ad09d6aeb4897d30e961dee2b045
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.2
|
Security for aws-cdk.aws-dynamodb-global 1.204.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.