DynamoDb table that is compliant against most AWS Config rules
Project description
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',
],
});
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file cdk-compliant-dynamodb-0.0.5.tar.gz
.
File metadata
- Download URL: cdk-compliant-dynamodb-0.0.5.tar.gz
- Upload date:
- Size: 40.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ed391b4a06e33407e29c2d9ea2199135d377309425c59c86281ea68cb874e31a |
|
MD5 | 9a0cd3ec8f75afc513c83961578ebbd6 |
|
BLAKE2b-256 | fcb78009a37aeff8ac5286dac0653a88862d2f3a6005e994944e580216f0bde1 |
File details
Details for the file cdk_compliant_dynamodb-0.0.5-py3-none-any.whl
.
File metadata
- Download URL: cdk_compliant_dynamodb-0.0.5-py3-none-any.whl
- Upload date:
- Size: 39.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 695154f2f049915dd3f5431faaaed0c75d26f02a54150dc3427ef357cb77e421 |
|
MD5 | d3d3ab184a414134abc595a511cec306 |
|
BLAKE2b-256 | 5e9d3349c60994fdcb8f90d11422490cee914c68c7dc40fcd79da153fe3ec0ff |