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.2.tar.gz (36.8 kB view details)

Uploaded Source

Built Distribution

cdk_compliant_dynamodb-0.0.2-py3-none-any.whl (35.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cdk-compliant-dynamodb-0.0.2.tar.gz
  • Upload date:
  • Size: 36.8 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.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for cdk-compliant-dynamodb-0.0.2.tar.gz
Algorithm Hash digest
SHA256 70a5d4af75ca2df5cb6ce78589bdc2491a3a16864df7f1e11d38d676d977bc61
MD5 2211c95f3dbd12f07af0a8e15e698ec6
BLAKE2b-256 050f634d43954a9cab0abc557f11c17e8f7a9f1cac6f8f760713355885936689

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cdk_compliant_dynamodb-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 35.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.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for cdk_compliant_dynamodb-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b8645787e524c90042f5d5a583b28e413f5ce26144958e15c69724b364564334
MD5 4f299c5570dcebdb6513f742573fcc11
BLAKE2b-256 576b2500009ebc19d6559c4ead280a3f5e6b6d8d4e014402a0aa3437f82771c2

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