@simple-cdk/core
v4.2.4
Published
Engine for simple-cdk: a convention-over-configuration framework for AWS CDK with a pluggable adapter system for Lambda, DynamoDB, AppSync, and Cognito.
Maintainers
Readme
@simple-cdk/core
The engine for simple-cdk. Adapter loader, lifecycle, config, and the public types that every adapter implements.
Install
npm install @simple-cdk/core aws-cdk-lib constructsWhat it exports
import { defineConfig, Engine, scanFiles } from '@simple-cdk/core';
import type { Adapter, AppConfig, Resource, RegisterContext, WireContext } from '@simple-cdk/core';defineConfig(config): type-safe identity helper for yoursimple-cdk.config.tsEngine: runs the discover → register → wire lifecycle and returns a CDK AppscanFiles(rootDir, opts): filesystem helper for adapters that scan for filesAdapter,Resource,*Context: the contract every adapter implements
Status
Pre-1.0. APIs may change. Full docs at the main repo.
