Package Exports
- @renovosolutions/cdk-aspects-library-security-group
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@renovosolutions/cdk-aspects-library-security-group) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
cdk-aspects-library-security-group
A CDK library containing EC2 security group related CDK Aspects and the ability to define custom aspects.
Features
- Utilize built in aspects for common cases:
- Disallow public access to any port
- Disallow public access to AWS Restricted Common ports (per the AWS Config rule)
- Disallow public access to SSH or RDP per CIS Benchmark guidelines and general good practice
- Create any other aspect using the base security group aspect class.
API Doc
See API
Examples
Typescript
// Add the aspect to your stack
Aspects.of(stack).add(new NoPublicIngressAspect());