Socket
Book a DemoInstallSign in
Socket

@release-gateway/aws-cdk-constructs

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@release-gateway/aws-cdk-constructs

Enterprise ready CDK constructs that are CIS 1.4 and NIST800-53 Rev.5 standards compliant

1.3.1
latest
Source
npmnpm
Version published
Weekly downloads
6
Maintainers
1
Weekly downloads
 
Created
Source

Release Gateway

AWS CDK Constructs

npm version CI codecov

Library of Enterprise ready CDK constructs that are standards compliant with the CIS 1.4, NIST 800-53 Rev5 and adopting the best practices set out in AWS Well Architected Reliability and Security Pillars.

This library follows the AWS CDK L1, L2 paradigms and where possible applies the minimum configuration needed to satisfy the cloud standards.

Installation

Use the package manager npm to install this package:

npm install @release-gateway/aws-cdk-constructs

Usage

import { RGApp, RGStack, RGStackProps } from "@release-gateway/aws-cdk-constructs"

class MyStackStack extends RGStack {
  constructor(scope: RGApp, id: string, props: RGStackProps) {
    super(scope, id, props);
    // Define your stack...
  }
}

// Build and synthesize
const app = new RGApp();
new MyStack(app, "my-stack", {
  serviceName: "My Service Name",
  version: "1.0.0"
})
app.synth()

Constructs

Construct nameBase classDescription of changes
RGAppAppIncludes RGGuardValidator as policy validator
RGStackStackAdds standard tags and creates shared KMS key for use by child resources
RGGuardValidatorCfnGuardValidatorPolicy validator configured to enforce CIS 1.4, NIST800-Rev53, Well Architecte Reliabilty Pillar and Well Architected Security Pillar best practices
RGLogGroupLogGroupApplies kms log encryption, removal policy and sets retention to 1 week
RGNodejsFunctionNodejsFunctionMakes VPC mandatory, creates lambda log group with encryption, configures DLQ and sets removal policy
RGQueueQueueSets KMS encryption, removal policy and configures DLQ
RGTableTableV2Sets KMS encryption,, removal policy
RGHttpApiHttpApiSets encrypted access logging and throttling defaults
RGRestApiRestApiSets encrypted access and execution logging, throttling defaults, regional endpoint type

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

Attribution

Logo Icons

  • Rocket by Gregor Cresnar from Noun Project (CC BY 3.0)
  • Checklist by Kartika Sholehatin from Noun Project (CC BY 3.0)
  • Code by Adiyogi from Noun Project (CC BY 3.0)

Keywords

cdk

FAQs

Package last updated on 01 Dec 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.