Add AWS CloudWatch Alarm Event

Open
#555 0 comments 5 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
aws, go
Domain
backend, cloud

Research direction

Start with the linked AWS CloudWatch Alarm documentation to identify the event shape and compare it with the repository's existing Lambda event structs and handler mapping. Define the scope of the Go event type and confirm that a Lambda handler can receive this event without a user-defined struct; the documented alarm payload should be covered by verification.

Written by the indexing model from the issue text.

Description

Is your feature request related to a problem? Please describe.
I want to create a lambda for an AWS CloudWatch Alarm Event. I'm not able to find anything that seems to indicate there is already a struct that exists for the lambda handler to map the event automatically.

Describe the solution you'd like
I would like to have a struct created that allows the lambda handler event to map AWS CloudWatch Alarm events like the ones produced here: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/AlarmThatSendsEmail.html#alarms-and-actions.

Describe alternatives you've considered
If there are alternative ways of doing this without me having to define my own struct for this, I'm open to using that instead.

Additional context
Add any other context or screenshots about the feature request here.

Dominant language
Go
Stars
3.8k
Forks
578
Avg merge
16h 56m
Merged PRs (30d)
2

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from aws/aws-lambda-go

All issues in aws/aws-lambda-go

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.