@aetherionfw/infra
v1.3.0
Published
CDKTF Builder for Aetherion Framework
Readme
@aetherionfw/infra
CDKTF (Cloud Development Kit for Terraform) builder for the Aetherion Serverless Framework.
Aetherion is a modern, TypeScript-first serverless framework designed to bring the developer experience of frameworks like NestJS to AWS serverless architectures.
Overview
This package is responsible for reading the metadata generated by your @aetherionfw/core decorators and automatically synthesizing the corresponding AWS infrastructure using Terraform (via CDKTF).
Features:
- Automatic Lambda Function provisioning (1:1 Architecture)
- Automatic API Gateway (HTTP/REST) wiring with resources, methods, and integrations
- DynamoDB, RDS, S3, SQS, EventBridge, and KMS integrations
- Automatic IAM Permissions resolution
- VPC configuration support
Installation
npm install @aetherionfw/infra cdktf constructs @cdktf/provider-awsUsage
You rarely need to interact with this package manually. The Aetherion CLI handles the synthesis process for you. However, the entry point looks like this:
import { App } from 'cdktf';
import { FrameworkStack } from '@aetherionfw/infra';
import '../src/app.module'; // Import your app module to register metadata
const app = new App();
// This automatically synthesizes all Lambdas, API Gateways, etc.
new FrameworkStack(app, 'aetherion-dev');
app.synth();Documentation
For full documentation, visit https://github.com/CrisD3v/Aetherion-framework.
License
MIT
