cdktf-aws-secure-2.0.1
توضیحات
High level CDKTF construct to provision secure configurations with AWS
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | cdktf-aws-secure-2.0.1 |
| نام | cdktf-aws-secure |
| نسخه کتابخانه | 2.0.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Scott Liao<shazi7804@gmail.com> |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | https://github.com/shazi7804/cdktf-aws-secure-constructs.git |
| آدرس اینترنتی | https://pypi.org/project/cdktf-aws-secure/ |
| مجوز | Apache-2.0 |
[](https://badge.fury.io/js/cdktf-aws-secure)
[](https://badge.fury.io/py/cdktf-aws-secure)

# Terraform CDK - AWS Secure constructs
The Level 2 construct can be used to set up your AWS account with the reasonably secure configuration baseline. Internally it uses the [Terraform CDK](https://cdk.tf/) and the [AWS Provider](https://cdk.tf/provider/aws).
## Features
* Account password policies
* Cloudtrail
* Guardduty
* EBS encrypt default
* VPC flow log
* Security Hub
* Enable Config rules above
## Install
Just the constructs
```
npm install cdktf-aws-secure
```
## Examples
```python
# Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826
from constructs import Construct
from cdktf import Resource
from cdktf_aws_secure import secure
class AwsSecure(Resource):
def __init__(self, scope, name):
super().__init__(scope, name)
policy = secure.EnableAccountPasswordPolicy(self, "DefaultAccountPwdPolicy")
policy.add_config_rule()# and also add Config rule.
# enable guardduty
secure.EnableGuardduty(self, "EnableGuardduty")
# enable cloudtrail
secure.EnableCloudTrail(self, "EnableCloudTrail")
# enable ebs encrypt default
secure.EnableEbsEncryption(self, "EnableEbsEncryption")secure.EnableGuardduty(self, "EnableGuardduty")
# enable vpc flow log
secure.EnableVpcFlowLog(self, "EnableVpcFlowLog",
vpc_id="vpc-0123456789"
)
# enable security hub
secure.EnableSecurityHub(self, "EnableSecurityHub")
```
## Docs
See [API Docs](./API.md)
نیازمندی
| مقدار | نام |
|---|---|
| <2.0.0,>=1.0.59 | cdktf-cdktf-provider-aws |
| <0.4.0,>=0.3.0 | cdktf |
| <4.0.0,>=3.0.0 | constructs |
| <2.0.0,>=1.29.0 | jsii |
| >=0.0.3 | publication |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl cdktf-aws-secure-2.0.1:
pip install cdktf-aws-secure-2.0.1.whl
نصب پکیج tar.gz cdktf-aws-secure-2.0.1:
pip install cdktf-aws-secure-2.0.1.tar.gz