Skip to content

Feature request: AppSync Event schema/envelope #3906

Open
@Jimmy89

Description

@Jimmy89

Use case

I'm starting with Appsync events, but the lambda that is called as data source (on publish/subscribe) also receives input from other sources.

Therefore, I want to filter within the lambda event handler from which service the event came from to check which message processor is required. The current new AppSync Events event headers examples contain only the app.resolve(event, context) but I would like to place a filter in advance like "if event === appsyncevent". I do not see Validation schema/envelope for these appsync events. I could make one myself, but I think it would be a great addition to this package.

Solution/User Experience

A validator that can verify if an incoming message is a AppSync Events event, for use cases where multiple sources/services call the same lambda.

Alternative solutions

Acknowledgment

Future readers

Please react with 👍 and your use case to help us understand customer demand.

Metadata

Metadata

Assignees

Labels

confirmedThe scope is clear, ready for implementationfeature-requestThis item refers to a feature request for an existing or new utilityparserThis item relates to the Parser Utility

Type

No type

Projects

Status

Working on it

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions