Skip to content

Instantly share code, notes, and snippets.

@misterjunio
Last active March 18, 2020 20:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save misterjunio/f2892ce09aa25b2bc365edc4905dca09 to your computer and use it in GitHub Desktop.
Save misterjunio/f2892ce09aa25b2bc365edc4905dca09 to your computer and use it in GitHub Desktop.
AWS CFN - IoT rule example
ProcessSignalRule:
Type: AWS::IoT::TopicRule
Properties:
RuleName: devProcessSignalRule
TopicRulePayload:
Sql: "SELECT * FROM '/dev/+/process/signal'"
RuleDisabled: false
AwsIotSqlVersion: "2016-03-23"
Actions:
- Lambda:
FunctionArn:
Fn::ImportValue: "dev-process-signal-function-arn"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment