{"id":23609560,"url":"https://github.com/hanazuki/cdk-lambda-ruby","last_synced_at":"2025-12-24T15:37:16.375Z","repository":{"id":36985899,"uuid":"318607698","full_name":"hanazuki/cdk-lambda-ruby","owner":"hanazuki","description":"CDK Construct Library for AWS Lambda in Ruby","archived":false,"fork":false,"pushed_at":"2024-02-24T06:28:01.000Z","size":371,"stargazers_count":9,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-25T07:21:45.539Z","etag":null,"topics":["aws-cdk","aws-cdk-constructs","aws-lambda","aws-lambda-ruby","ruby"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/cdk-lambda-ruby","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hanazuki.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2020-12-04T18:48:24.000Z","updated_at":"2023-01-11T11:36:59.000Z","dependencies_parsed_at":"2024-02-24T07:23:05.070Z","dependency_job_id":"d7ce2051-f185-4ad8-b539-8b20155eaf58","html_url":"https://github.com/hanazuki/cdk-lambda-ruby","commit_stats":{"total_commits":155,"total_committers":2,"mean_commits":77.5,"dds":0.2387096774193549,"last_synced_commit":"87f430280b4aef7442f2a53f42c3b89cc9663732"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hanazuki%2Fcdk-lambda-ruby","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hanazuki%2Fcdk-lambda-ruby/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hanazuki%2Fcdk-lambda-ruby/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hanazuki%2Fcdk-lambda-ruby/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hanazuki","download_url":"https://codeload.github.com/hanazuki/cdk-lambda-ruby/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":231501618,"owners_count":18386288,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aws-cdk","aws-cdk-constructs","aws-lambda","aws-lambda-ruby","ruby"],"created_at":"2024-12-27T15:10:31.236Z","updated_at":"2025-12-24T15:37:16.341Z","avatar_url":"https://github.com/hanazuki.png","language":"TypeScript","readme":"# CDK Construct Library for AWS Lambda in Ruby\n\nThis library provides [AWS CDK](https://github.com/aws/aws-cdk) constructs for AWS Lambda functions written in [Ruby](https://www.ruby-lang.org/).\n\n## Synopsis\n\n```typescript\nimport * as cdk from 'aws-cdk-lib';\nimport * as lambda from 'aws-cdk-lib/aws-lambda';\nimport * as lambdaRuby from 'cdk-lambda-ruby';\nimport { Construct } from 'constructs';\n\nexport class ExampleStack extends cdk.Stack {\n  public constructor(scope: Construct, id: string, props?: cdk.StackProps) {\n    super(scope, id, props);\n\n    new lambdaRuby.RubyFunction(this, 'MyFunction', {\n      runtime: lambda.Runtime.RUBY_3_2,\n      sourceDirectory: 'function',\n      handler: 'main.handler',\n      bundlerConfig: {  // optional\n        without: 'development:test',  // optional, default: 'development:test'\n        build: {  // optional\n          'some-gem': '--some-build-option',\n        },\n      },\n    });\n  }\n}\n```\n\n## Description\n\n`RubyFunction` deploys the `sourceDirectory` as a Lambda function written in Ruby. `runtime` is expected to be a Ruby-family Lambda Runtime (i.e., RUBY\\_3\\_2 at the moment).\n\nIf a file named \"Gemfile\" exists directly inside `sourceDirectory`, the dependency gems are bundled using [Bundler](https://bundler.io/). Bundling is performed inside a [Docker](https://www.docker.com/) container using the Lambda builder images privided by AWS. The `bundlerConfig` prop may have the `without` field to specify a colon-separated list of gem groups to skip installation.\n\n`RubyFunction` also accepts common [FunctionOptions](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_lambda.FunctionOptions.html).\n\n## Caching\n\nThe library caches downloaded gems, compiled extensions, and installation trees under \"cdk.out/.cache\" to optimize synthesis speed. Try delete these files if something unexpected happens.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhanazuki%2Fcdk-lambda-ruby","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhanazuki%2Fcdk-lambda-ruby","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhanazuki%2Fcdk-lambda-ruby/lists"}