{"id":18331759,"url":"https://github.com/nideveloper/cdk-lambda-powertuner","last_synced_at":"2025-04-06T03:33:23.100Z","repository":{"id":42848373,"uuid":"261805892","full_name":"nideveloper/cdk-lambda-powertuner","owner":"nideveloper","description":"A simple CDK wrapper for the AWS Lambda Powertuner step function","archived":false,"fork":false,"pushed_at":"2023-01-06T05:16:36.000Z","size":2245,"stargazers_count":5,"open_issues_count":13,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-06T19:15:33.179Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nideveloper.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-05-06T15:45:01.000Z","updated_at":"2023-05-18T07:13:11.000Z","dependencies_parsed_at":"2023-02-05T10:00:52.779Z","dependency_job_id":null,"html_url":"https://github.com/nideveloper/cdk-lambda-powertuner","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nideveloper%2Fcdk-lambda-powertuner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nideveloper%2Fcdk-lambda-powertuner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nideveloper%2Fcdk-lambda-powertuner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nideveloper%2Fcdk-lambda-powertuner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nideveloper","download_url":"https://codeload.github.com/nideveloper/cdk-lambda-powertuner/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247430837,"owners_count":20937873,"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":[],"created_at":"2024-11-05T19:35:08.109Z","updated_at":"2025-04-06T03:33:22.681Z","avatar_url":"https://github.com/nideveloper.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CDK Lambda Power Tuner\n\nThis is simply a CDK wrapper for the SAM/SAR application - [aws-lambda-power-tuning](https://github.com/alexcasalboni/aws-lambda-power-tuning)\n\n\u003eNote this is an alpha module, it needs thoroughly tested before being production recommended\n\nAll of the lambda logic is cloned on build from that source repo with only the stepfunction definition being defined in this project.\n\nThis enables you to now do this:\n\n![snippet](https://raw.githubusercontent.com/nideveloper/cdk-lambda-powertuner/master/img/snippet.png)\n\n## Deploying the state machine\nImport it into any CDK stack and then `cdk deploy`\n\n\n## Running The Tuner\nThis is the same as [here](https://github.com/alexcasalboni/aws-lambda-power-tuning#how-to-execute-the-state-machine-web-console)\n\n## Differences from [aws-lambda-power-tuning](https://github.com/alexcasalboni/aws-lambda-power-tuning)\nSince this uses AWS CDK to build and deploy the step function, we need to play by the rules of CDK.\n\nThe method of integrating Lambda functions as a step into your workflow via ARN has been deprecated by the team.\nThey have chosen to support integrating via function name. For reference see [issue](https://github.com/aws/aws-cdk/issues/7709)\n\nThis means that the payloads coming back from the Lambda functions contain an extra abstraction layer of data not present in the SAR application.\n\nTo make this work without rewriting the Lambda functions so that I can always pull the latest code on every build I\nhad to introduce adapters between the step function Lambda tasks to strip out this abstraction layer. This is their only purpose\n\n![stepfunction flow](https://raw.githubusercontent.com/nideveloper/cdk-lambda-powertuner/master/img/stepfunctions_graph.png)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnideveloper%2Fcdk-lambda-powertuner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnideveloper%2Fcdk-lambda-powertuner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnideveloper%2Fcdk-lambda-powertuner/lists"}