Created
September 29, 2015 23:29
-
-
Save jinman/1cf035c0ecc1cfde1d60 to your computer and use it in GitHub Desktop.
RuleToSNS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"sql": "SELECT (CASE Clicks WHEN '1' THEN 'Yo' WHEN '2' THEN 'Wassup?' ELSE 'Howdy.' END) AS message FROM 'button/press'", | |
"ruleDisabled": false, | |
"actions": [{ | |
"sns": { | |
"roleArn": "arn:aws:iam::115330095819:role/icebreaker-sns-actions-role", | |
"targetArn": "arn:aws:sns:us-east-1:115330095819:text-a-phone" | |
} | |
}] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment