Skip to main content

DynamoDb table that is compliant against most AWS Config rules

Project description

NPM version PyPI version Release

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:

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

cdk-compliant-dynamodb-0.0.8.tar.gz (40.7 kB view details)

Uploaded Source

Built Distribution

cdk_compliant_dynamodb-0.0.8-py3-none-any.whl (39.4 kB view details)

Uploaded Python 3

File details

Details for the file cdk-compliant-dynamodb-0.0.8.tar.gz.

File metadata

File hashes

Hashes for cdk-compliant-dynamodb-0.0.8.tar.gz
Algorithm Hash digest
SHA256 3002d2acf8241c206754356264d0283f8e25ade3313e4485627c14c862df0aad
MD5 d068f1e5988205e94f72f777aa8e2e58
BLAKE2b-256 c0e33cfc1611079327b149b3a464e742f385c9f4ac36b2f5348c0d549074fe1b

See more details on using hashes here.

File details

Details for the file cdk_compliant_dynamodb-0.0.8-py3-none-any.whl.

File metadata

File hashes

Hashes for cdk_compliant_dynamodb-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 b745456904bec4bcc80153deff902097db05cbc7eba25c12aef39be6b2d0331b
MD5 8e92b8a8deb31e2f190746ff4e1186c7
BLAKE2b-256 6ff2c0a1b004c1b511bd9bc40548995d11aec7fdd4cc8c6adcfe1076897cf4f3

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page