
Security News
Software Engineering Daily Podcast: Feross on AI, Open Source, and Supply Chain Risk
Socket CEO Feross Aboukhadijeh joins Software Engineering Daily to discuss modern software supply chain attacks and rising AI-driven security risks.
@kaweah.tech/cdk-constructs
Advanced tools
A collection of CDK Constructs and utilities used across Kaweah Tech projects.
A collection of AWS CDK Constructs and utilities used across Kaweah Tech projects for deploying web applications with proper SSL certificates, CloudFront distributions, and Route 53 DNS management.
npm install @kaweah.tech/cdk-constructs
Deploy static websites with S3, CloudFront CDN, and automatic SSL certificates.
import { StaticSite } from '@kaweah.tech/cdk-constructs'
new StaticSite(this, 'MyStaticSite', {
siteDomain: 'example.com',
sourcePath: './build',
indexDocument: 'index.html',
errorDocument: '404.html',
assetCachingLevel: 'long', // 'none', 'short', or 'long'
})
Features:
Deploy Nuxt.js applications with Lambda@Edge for server-side rendering.
import { NuxtSite } from '@kaweah.tech/cdk-constructs'
new NuxtSite(this, 'MyNuxtApp', {
siteDomain: 'app.example.com',
sourcePath: './nuxt-app',
environment: {
NODE_ENV: 'production',
API_BASE_URL: 'https://api.example.com',
},
additionalApiPaths: ['/api/v2/*'],
})
Features:
Create URL redirections using S3 and CloudFront.
import { RedirectSite } from '@kaweah.tech/cdk-constructs'
new RedirectSite(this, 'MyRedirect', {
sourceRecords: ['old-domain.com', 'www.old-domain.com'],
targetDomain: 'https://new-domain.com',
})
Features:
Standardized configuration and tagging utility for consistent resource management.
import { StackConfig, CostCenter, Environment } from '@kaweah.tech/cdk-constructs/lib'
const stackConfig = new StackConfig({
costCenter: CostCenter.KaweahTech,
environment: Environment.Production,
stack: 'My Application',
})
// Use for consistent resource naming
const bucketName = stackConfig.getComponentName('Assets Bucket')
// Apply standardized tags to all resources
const bucket = new s3.Bucket(this, 'Bucket', {
// ... bucket configuration
})
stackConfig.applyTags(bucket)
Available Cost Centers:
CostCenter.KaweahTechCostCenter.ClientProjectsCostCenter.OperationsCostCenter.NerdozaAvailable Environments:
Environment.DevelopmentEnvironment.IntegrationEnvironment.UATEnvironment.StageEnvironment.ProductionEnvironment.OperationsThese constructs handle cross-region references automatically, particularly for SSL certificates which must be deployed in us-east-1 for CloudFront compatibility.
// Certificate automatically created in us-east-1
// Stack can be deployed in any region
new StaticSite(this, 'GlobalSite', {
siteDomain: 'global.example.com',
sourcePath: './dist',
})
const stackConfig = new StackConfig({
costCenter: CostCenter.KaweahTech,
environment: Environment.Production,
stack: 'Marketing Site',
})
new StaticSite(this, stackConfig.getComponentName('Site'), {
siteDomain: `${stackConfig.environment === Environment.Production ? '' : 'staging.'}example.com`,
sourcePath: './build',
assetCachingLevel: stackConfig.environment === Environment.Production ? 'long' : 'short',
})
For production deployments, consider applying retention policies:
import * as cdk from 'aws-cdk-lib'
const site = new StaticSite(this, 'ProductionSite', {
siteDomain: 'example.com',
sourcePath: './build',
shouldRetainData: true, // Prevents accidental S3 bucket deletion
})
// Additional retention for Route 53 hosted zones
site.hostedZone.applyRemovalPolicy(cdk.RemovalPolicy.RETAIN)
StackConfig for consistent resource taggingassetCachingLevel for your use caseshouldRetainData: true for production resourcesFor issues and feature requests, please contact hello@kaweah.tech.
MIT - See LICENSE file for details.
FAQs
A collection of CDK Constructs and utilities used across Kaweah Tech projects.
We found that @kaweah.tech/cdk-constructs demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Socket CEO Feross Aboukhadijeh joins Software Engineering Daily to discuss modern software supply chain attacks and rising AI-driven security risks.

Security News
GitHub has revoked npm classic tokens for publishing; maintainers must migrate, but OpenJS warns OIDC trusted publishing still has risky gaps for critical projects.

Security News
Rust’s crates.io team is advancing an RFC to add a Security tab that surfaces RustSec vulnerability and unsoundness advisories directly on crate pages.