Skip to content

ruby-cdk 0.1.0

Choose a tag to compare

@github-actions github-actions released this 27 Nov 08:38
· 55 commits to main since this release

First release of ruby-cdk: the AWS CDK's programming model in pure Ruby — no Node, no jsii, no npm.

Synthesis. Ruby objects to byte-identical CloudFormation templates; safe defaults per resource type from the CDK's own retained list (RetainExceptOnCreate/Retain/Snapshot).
Validation. A vendored model of 2,154 AWS resource types with the normalizer and rules V1–V23, measured against 400 templates the CDK itself synthesized.
Deployment. Change sets only; the account rule; the skip rule; events, outputs, termination protection; large templates deployed by URL.
Assets. Content-hashed, deterministically zipped, uploaded with the bucket's expected owner named on every call; bootstrap stack included.
Constructs. S3::Bucket, IAM::Role, Lambda::Function, DynamoDB::Table, SQS::Queue, SNS::Topic, Logs::LogGroup, with explicit least-privilege grants.
Diff. ruby-cdk diff against the deployed template: replacements priced from the model, a security view over every policy-document property. Writes nothing.
Nag. Seventeen security rules, suppressed per resource or in .ruby-cdk/nag.yml.
Test kit. RubyCdk::Test, the CDK's assertions ported.

Measured against the CDK: 1,551 cases of its own suites, 445 ported, all passing. The full suite (1,949 runs) passes with no AWS credential reachable; deploy and destroy run in CI against the AWS Emulator. See SECURITY.md for the reporting policy and docs/security.md for the threat model.

Install: gem install ruby-cdk (rubygems.org), or from source — see the README.