
Security News
Node.js TSC Votes to Stop Distributing Corepack
Corepack will be phased out from future Node.js releases following a TSC vote.
cdk-constants
Advanced tools
This repository contains constants that make it easier to work with the aws-cdk (CDK).
The CDK is awesome but it currently lacks types when initializing constructs such as IAM service principals and managed policies. Finding the right construct names requires diving into AWS documentation. Because there is no verification of these construct initializers, errors are only surfaced after deployment and via a rollback.
This library aims to be an up to date constants library for all things AWS so the above never happens again!
Install or update from npm
# install
npm i cdk-constants
# upgrade
npm i -g cdk-constants@latest
import {SERVICE_PRINCIPALS, MANAGED_POLICIES} from 'cdk-constants'
const lambdaRole = new Role(this, "lambdaDomainChecker", {
assumedBy: new ServicePrincipal(SERVICE_PRINCIPALS.LAMBDA),
managedPolicies: [
ManagedPolicy.fromAwsManagedPolicyName(MANAGED_POLICIES.AWS_LAMBDA_BASIC_EXECUTION_ROLE)
],
})
cdk-constants
wouldn't be possible without modules from the following authors
All contributors are welcome. As you are reading this, AWS has probably released a new service. Please see CONTRIBUTING for information on how to setup a development environment and submit code.
Some upcoming items on the roadmap:
cdk-constants is distributed under the Apache License, Version 2.0.
See LICENSE for more information.
FAQs
Library of helpful constants to work with the CDK
The npm package cdk-constants receives a total of 8,026 weekly downloads. As such, cdk-constants popularity was classified as popular.
We found that cdk-constants demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
Corepack will be phased out from future Node.js releases following a TSC vote.
Research
Security News
Research uncovers Black Basta's plans to exploit package registries for ransomware delivery alongside evidence of similar attacks already targeting open source ecosystems.
Security News
Oxlint's beta release introduces 500+ built-in linting rules while delivering twice the speed of previous versions, with future support planned for custom plugins and improved IDE integration.