Comments (1)
I figured out what I was doing wrong while I was editing the JSON output above.
The following input path now works:
{"check-name":"$.detail.check-name","check-item-detail":"$.detail.check-item-detail"}
Instead of grabbing specific values that contain spaces (i.e. Limit Amount), I decided it was better to grab the entire output of $.detail.check-item-detail.
Just for context, I am using the AWS Service Limit Monitor which passes Trusted Advisor events to CloudWatch to an SNS topic in JSON. Since the JSON format in the email notification is not human readable I wanted to use this SNS Input Transformer to make the notification more consumable without having to write/modify a Lambda. This SNS Input Transformer is perfect for my needs and has solved my problem.
from amazon-cloudwatch-events-user-guide.
Related Issues (8)
- Cloudformation for codepipeline release by cloudwatch events HOT 1
- Glue Data Catalog Database State Change Possible Values Wrong HOT 1
- Invalid cron job syntax? HOT 3
- Document that Lambda should exit with success ? HOT 2
- Description does not match examples HOT 1
- CloudWatch SSM target paramaters HOT 1
- Incomplete turorial: Run an Amazon ECS Task When a File is Uploaded to an Amazon S3 Bucket HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from amazon-cloudwatch-events-user-guide.