Skip to content

Instantly share code, notes, and snippets.

@marinr
Created August 21, 2020 16:56
Show Gist options
  • Save marinr/1f5fd54af7143164397e962cd6c752ea to your computer and use it in GitHub Desktop.
Save marinr/1f5fd54af7143164397e962cd6c752ea to your computer and use it in GitHub Desktop.
EventsTopic:
Type: "AWS::SNS::Topic"
Properties:
TopicName: !Sub "Example-events-topic"
Event3Rule:
Type: AWS::Events::Rule
Properties:
Description: "EventSNSRule"
EventBusName: exampleEventBus
EventPattern:
detail:
type:
- my::cool::event3
State: "ENABLED"
Targets:
-
Arn:
!Ref EventsTopic
Id: "Event3Topic"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment