-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(lambda): configuration for async invocations #5299
Conversation
Incomplete type definitions are unusable, so we translate them into "Json" to be able to something semi-useful. Fix some broken terminology in the specs and code generator.
Thanks so much for taking the time to contribute to the AWS CDK ❤️ We will shortly assign someone to review this pull request and help get it
|
Currently branched from https://github.com/aws/aws-cdk/tree/shivlaks/cfn-spec-update (#5297) The only commit of interest here is 1dd219d. |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
93bbc1f
to
9d003b1
Compare
Add support for destinations, maximum event age and maximum retry attempts for asynchronous invocations. See https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html
9d003b1
to
1dd219d
Compare
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You should be able to pull out the cfnspec changes from here. This was already pulled in here - 7f33541
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
-
Does CloudFormation/Lambda allow multiple EventInvokeConfig resources for the same lambda function? What about combinations of EventInvokeConfig for the function, the function's version and alias?
-
To support imported lambda functions, versions and aliases, we should include an
addEventInvokeConfig(...)
method besides constructor props.
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
Pull request has been modified.
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
@jogold - let me know if you're ok with the tweaks I've pushed to this PR. As far as I can see, this is ready to be merged. |
LGTM! |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
Thank you for contributing! Your pull request is now being automatically merged. |
Add support for destinations, maximum event age and maximum retry attempts for
asynchronous invocations.
Destinations are provided in
@aws-cdk/aws-lambda-destinations
.See https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html
Closes #5239
Closes #5240
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license