How is this better than AWS CDK, and why are you not using CloudFormation? Seems like the sane thing to do in 2025
I like CDK, it was huge step forward compared to Cloud Formation, Terraform etc.
But I think infra tools can be still made better for developers. In stelvio you can do this:
table = DynamoTable(
name="todos",
fields={
"username": AttributeType.STRING,
"created": AttributeType.STRING,
},
partition_key="username",
sort_key='created'
)
api = Api("todo-api")
api.route("POST", "/todos", handler="functions/todos.post", links=[table])
api.route("GET", "/todos/{username}", handler="functions/todos.get")
It creates:- DynamoDB table
- Lambda function with IAM (policy - with permissions for dynamo table, role)
- API Gateway (resources, methods, integrations, role, stage & deployment)
- CloudWatch log groups
It would be much more code in CDK.
Stelvio aims to make common things much simpler while allowing you to change details if you need to.