Created
September 2, 2019 02:43
-
-
Save xximjasonxx/933d67dbbbe2d50a5b21c3d51a6c4389 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" | |
Parameters: | |
RawBucketName: | |
Type: String | |
Default: rawimages | |
Description: Enter the name of the Raw Images Bucket | |
ThumbnailBucketName: | |
Type: String | |
Default: thumbnailimages | |
Description: Enter the name of the Thumbnail Images Bucket | |
Resources: | |
RawBucket: | |
Type: AWS::S3::Bucket | |
Properties: | |
BucketName: !Ref RawBucketName | |
NotificationConfiguration: | |
TopicConfigurations: | |
- Event: "s3:ObjectCreated:*" | |
Topic: !Ref ImageUploadTopic | |
ThumbnailBucket: | |
Type: AWS::S3::Bucket | |
Properties: | |
BucketName: !Ref ThumbnailBucketName |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment