High level CDKTF construct to provision secure configurations with AWS
Project description
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 and the AWS Provider.
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
# 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)
# Enable account password policy
policy = secure.CreateAccountPasswordPolicy(self, "DefaultAccountPwdPolicy")
# and also add Config rule.
policy.add_config_rule()
Docs
See API Docs
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cdktf-aws-secure-1.0.1.tar.gz
(101.4 kB
view hashes)
Built Distribution
Close
Hashes for cdktf_aws_secure-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4f315cdaf598ed6c846cd31b1bc3efd39f1749e82b4781df27ce8f2e2059e8e4 |
|
MD5 | aa8cb5ea3491973a46bee99f973b2fd1 |
|
BLAKE2b-256 | cbd61d8cce64dc546bff4e5ce1921f09bd782c89b6ec0c039215d331620bff74 |