awslabs / awslabs/aws-solutions-constructs

Allow Lambda Aliases To Be Used With Constructs

Open
#208 3 comments 1 reaction 1 assignee Claimed by @biffgaut View on GitHub
feature-request needs-triage
Dominant language
TypeScript
Stars
1.4k
Forks
268
Avg merge
5h 18m
Merged PRs (30d)
5

Description

In a [Re:Invent video about CDK Pipelines](https://youtu.be/1ps0Wh19MHQ?t=2339), they demoed using lambda aliases to perform canary and linear rollouts of lambdas to a stack. However it does not appear that any of the official CDK Constructs Solutions (let alone the community ones) allow for using a lambda alias as the existing lambda reference.

### Use Case

Allow canary and linear rollout of lambda changes in conjunction with integration tests on deployment when using CDK Solutions Constructs with CDK Pipelines.

### Proposed Solution

```js
{
existingLambda: /* IFunction instead of Function */
}
```

### Other

* [ ] :wave: I may be able to implement this feature request
* [ ] :warning: This feature might incur a breaking change

---

This is a :rocket: Feature Request

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.