Thursday, June 02, 2022

Functionless λ< for serverless AWS CDK

 functionless/functionless: TypeScript plugin for service-to-service (aka. "functionless") cloud integrations. @GitHub

Functionless λ<

Functionless is a compiler plugin and Construct library that enhances your cloud programming experience with TypeScript and the AWS Cloud Development Kit (CDK)

Tedious and error-prone configurations are inferred directly from your application logic, including IAM Policies, environment variables and proprietary domain specific languages such as Amazon States Language, Velocity Templates and Event Bridge Pattern Documents. 

This makes it simple, easy and fun(!) to configure AWS's powerful services without learning a new language or abstraction. Functionless always ensures that your IAM Policies are minimally permissive and that there is no missing plumbing code, so you can be confident that when your code compiles - then it also deploys, runs and is secure!

Terraform + CDK: support TypeScript, Python, Go, C#, Java (!)

The Cloud Development Kit for Terraform (CDKTF) allows you to define your infrastructure in a familiar programming language such as TypeScript, Python, Go, C#, or Java. CDKTF generates Terraform configuration in JSON, then automatically applies that configuration via Terraform to provision your infrastructure.

 CDK for Terraform: Enabling Python & TypeScript Support

Easily convert between HCL, JSON, and YAML