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
Close
Hashes for cdk-compliant-dynamodb-0.0.8.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3002d2acf8241c206754356264d0283f8e25ade3313e4485627c14c862df0aad |
|
MD5 | d068f1e5988205e94f72f777aa8e2e58 |
|
BLAKE2b-256 | c0e33cfc1611079327b149b3a464e742f385c9f4ac36b2f5348c0d549074fe1b |
Close
Hashes for cdk_compliant_dynamodb-0.0.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b745456904bec4bcc80153deff902097db05cbc7eba25c12aef39be6b2d0331b |
|
MD5 | 8e92b8a8deb31e2f190746ff4e1186c7 |
|
BLAKE2b-256 | 6ff2c0a1b004c1b511bd9bc40548995d11aec7fdd4cc8c6adcfe1076897cf4f3 |