cdk-compliant-dynamodb
cdk-compliant-dynamodb is an AWS CK construct that allows you to easily create an AWS DynamoDB that is fully compliant against the following AWS Config rules:
- BACKUP_RECOVERY_POINT_MANUAL_DELETION_DISABLED
- DYNAMODB_IN_BACKUP_PLAN
- DYNAMODB_PITR_ENABLED
- DYNAMODB_AUTOSCALING_ENABLED
- DYNAMODB_THROUGHPUT_LIMIT_CHECK
- DYNAMODB_TABLE_ENCRYPTED_KMS
Why
Use this construct to be compliant against the most common AWS Config rules without the need to even know them. Opt-out of rules for non production environments.
Sample
create a fully compliant DynamoDb table with imported AWS Backup vault
new CompliantDynamoDb(stack, 'MyCompliantDynamoDB', {
partitionKey: {
name: 'id',
type: dynamodb.AttributeType.STRING,
},
backupVaultName: 'my-dynamodb-backup-vault',
deleteBackupAfterDays: 90,
backupPlanStartTime: 6,
});
Opt out of all rules (create a non compliant table)
new CompliantDynamoDb(stack, 'MyCompliantDynamoDB', {
partitionKey: {
name: 'id',
type: dynamodb.AttributeType.STRING,
},
disabledRules: [
'BACKUP_RECOVERY_POINT_MANUAL_DELETION_DISABLED',
'DYNAMODB_IN_BACKUP_PLAN',
'DYNAMODB_PITR_ENABLED',
'DYNAMODB_AUTOSCALING_ENABLED',
'DYNAMODB_THROUGHPUT_LIMIT_CHECK',
'DYNAMODB_TABLE_ENCRYPTED_KMS',
],
});
Release files for cdk-compliant-dynamodb 0.0.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| cdk-compliant-dynamodb-0.0.8.tar.gz | 40.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cdk_compliant_dynamodb-0.0.8-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 80.1 kB
Release files / cdk-compliant-dynamodb-0.0.8.tar.gz
| Download URL | cdk-compliant-dynamodb-0.0.8.tar.gz |
|---|---|
| Size | 40.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3002d2acf8241c206754356264d0283f8e25ade3313e4485627c14c862df0aad
|
|
BLAKE2b-256 checksum How to use checksums |
c0e33cfc1611079327b149b3a464e742f385c9f4ac36b2f5348c0d549074fe1b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.10.4
|
Release files / cdk_compliant_dynamodb-0.0.8-py3-none-any.whl
| Download URL | cdk_compliant_dynamodb-0.0.8-py3-none-any.whl |
|---|---|
| Size | 39.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b745456904bec4bcc80153deff902097db05cbc7eba25c12aef39be6b2d0331b
|
|
BLAKE2b-256 checksum How to use checksums |
6ff2c0a1b004c1b511bd9bc40548995d11aec7fdd4cc8c6adcfe1076897cf4f3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.10.4
|