Skip to content

Instantly share code, notes, and snippets.

@tuladhar
Created October 24, 2020 05:13
Show Gist options
  • Select an option

  • Save tuladhar/8526f6e00335b4c416e2f06dad9d2cfd to your computer and use it in GitHub Desktop.

Select an option

Save tuladhar/8526f6e00335b4c416e2f06dad9d2cfd to your computer and use it in GitHub Desktop.
Topic:
Type: AWS::SNS::Topic
Properties:
TopicName: !Sub ${AWS::StackName}
DisplayName: A topic that receives ElastiCache Events and triggers lambda to send notification.
Subscription:
- Endpoint: !GetAtt LambdaFunction.Arn
Protocol: lambda
Tags:
- Key: EnvironmentName
Value: !Ref EnvironmentName
- Key: EnvironmentType
Value: !Ref EnvironmentType
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment