cdk-compliant-dynamodb-0.0.8
توضیحات
DynamoDb table that is compliant against most AWS Config rules
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | cdk-compliant-dynamodb-0.0.8 |
| نام | cdk-compliant-dynamodb |
| نسخه کتابخانه | 0.0.8 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | digitalcampus360 Berlin<dc360@oev.de> |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | https://github.com/oev-berlin/cdk-compliant-dynamodb.git |
| آدرس اینترنتی | https://pypi.org/project/cdk-compliant-dynamodb/ |
| مجوز | Apache-2.0 |
[](https://badge.fury.io/js/cdk-compliant-dynamodb)
[](https://badge.fury.io/py/cdk-compliant-dynamodb)

# 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](https://docs.aws.amazon.com/config/latest/developerguide/backup-recovery-point-manual-deletion-disabled.html)
* [DYNAMODB_IN_BACKUP_PLAN](https://docs.aws.amazon.com/config/latest/developerguide/dynamodb-in-backup-plan.html)
* [DYNAMODB_PITR_ENABLED](https://docs.aws.amazon.com/config/latest/developerguide/dynamodb-pitr-enabled.html)
* [DYNAMODB_AUTOSCALING_ENABLED](https://docs.aws.amazon.com/config/latest/developerguide/dynamodb-autoscaling-enabled.html)
* [DYNAMODB_THROUGHPUT_LIMIT_CHECK](https://docs.aws.amazon.com/config/latest/developerguide/dynamodb-throughput-limit-check.html)
* [DYNAMODB_TABLE_ENCRYPTED_KMS](https://docs.aws.amazon.com/config/latest/developerguide/dynamodb-table-encrypted-kms.html)
## 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
```python
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)
```python
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',
],
});
```
نیازمندی
| مقدار | نام |
|---|---|
| <3.0.0,>=2.1.0 | aws-cdk-lib |
| <11.0.0,>=10.0.5 | constructs |
| <2.0.0,>=1.57.0 | jsii |
| >=0.0.3 | publication |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl cdk-compliant-dynamodb-0.0.8:
pip install cdk-compliant-dynamodb-0.0.8.whl
نصب پکیج tar.gz cdk-compliant-dynamodb-0.0.8:
pip install cdk-compliant-dynamodb-0.0.8.tar.gz