Skip to content

Instantly share code, notes, and snippets.

@xximjasonxx
Created September 2, 2019 02:57
Show Gist options
  • Save xximjasonxx/fa2d846d2a42149baca328479f2578bd to your computer and use it in GitHub Desktop.
Save xximjasonxx/fa2d846d2a42149baca328479f2578bd to your computer and use it in GitHub Desktop.
AWSTemplateFormatVersion: 2010-09-09
Description: "Creates infrastructure for Thumnbail Creator"
Resources:
ImageUploadTopic:
Type: AWS::SNS::Topic
Properties:
TopicName: ImageUploadTopic
Subscription:
- Endpoint: !GetAtt CreateThumbnailFunction.Arn
Protocol: lambda
- Endpoint: !GetAtt AnalyzeImageFunction.Arn
Protocol: lambda
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment