AWS Lambda Destination
See original GitHub issueAWS Lambda Destination
Description
AWS Lambda Destinations for asynchronous invocations. This is a feature that provides visibility into Lambda function invocations and routes the execution results to AWS services, simplifying event-driven applications and reducing code complexity.
I have already simply tried to add a cloudformation resource:
functions:
hello:
handler: src/hello.handler
events:
- sqs:
batchSize: 1
arn: ${arn}
resources: # CloudFormation template syntax
Resources:
HelloLambdaFunction:
Type: AWS::Lambda::EventInvokeConfig
Properties:
FunctionName: "hello"
Qualifier: "$LATEST"
MaximumEventAgeInSeconds: 600
MaximumRetryAttempts: 0
DestinationConfig:
OnSuccess:
Destination: ${arn}
OnFailure:
Destination: ${arn}
But i got this error: Update of resource type is not permitted. The new template modifies resource type of the following resources: [HelloLambdaFunction]
Yours sincerely.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Introducing AWS Lambda Destinations | AWS Compute Blog
AWS Lambda Destinations gives you more visibility and control of function execution results. This helps you build better event-driven ...
Read more >Lambda Destinations can improve success- and error ...
Lambda Destinations allow you to specify what to do if an asynchronous invocation succeeds or fails. You can pass on the information to...
Read more >AWS Lambda Destination to SQS for Asynchronous ...
Lambda can define Destination when invoke async way. By this feature, Lambda simplifying event-driven applications and reducing code complexity. We can set ...
Read more >AWS Lambda Destination Support - Serverless Framework
Essentially, destinations are the ability for asynchronous Lambda invocations to have their execution results sent to other AWS services without ...
Read more >What is AWS Lambda Destinations? - YouTube
In this aws lambda tutorial video you will learn the basics of aws lambda, its architecture and a use case. You will also...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@bluebeel as I see problem is, that you named your
AWS::Lambda::EventInvokeConfig
resource same asAWS::Lambda::Function
resource is named. Ensure to name it differently.Anyway, Framework will shortly support AWS Lambda Destination out of a box.
Looks like CloudFormation support just landed: https://aws.amazon.com/about-aws/whats-new/2019/12/aws-cloudformation-updates-for-api-gateway-codepipeline-s3-iam-ecs-rds-es-lambda-and-more/