Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(scheduler-alpha): make LambdaInvoke prop optional (#31887)
### Issue # (if applicable) None. ### Reason for this change Improve ergonomics of the `LambdaInvoke` constructor signature. The second argument is not required so we should not force customers to pass in an empty object. ### Description of changes Make the `LambdaInvoke` `prop` argument default to empty object. ### Description of how you validated changes Unit test updated to omit the `prop` argument if no props are being passed. ### Checklist - [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md) ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
- Loading branch information