Created
September 2, 2019 14:46
-
-
Save xximjasonxx/d0fcd70488a37a88000994a16bcfd3b4 to your computer and use it in GitHub Desktop.
This file contains 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
AWSTemplateFormatVersion: 2010-09-09 | |
Description: "Creates infrastructure for Thumnbail Creator" | |
Resources: | |
ImageUploadTopicPolicy: | |
Type: AWS::SNS::TopicPolicy | |
Properties: | |
PolicyDocument: | |
Id: S3TopicPublishPolicy | |
Version: "2012-10-17" | |
Statement: | |
- Sid: S3PublishAllowStatement | |
Effect: Allow | |
Principal: | |
Service: | |
- s3.amazonaws.com | |
Action: sns:Publish | |
Resource: !Ref ImageUploadTopic | |
Topics: | |
- !Ref ImageUploadTopic |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment