forked from aws-cloudformation/aws-cloudformation-macros
-
Notifications
You must be signed in to change notification settings - Fork 0
/
example.template
40 lines (35 loc) · 840 Bytes
/
example.template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
Transform: S3Objects
Resources:
Bucket:
Type: AWS::S3::Bucket
Object1:
Type: AWS::S3::Object
Properties:
Target:
Bucket: !Ref Bucket
Key: README.md
ContentType: text/markdown
Body: |
# My text file
This is my text file;
there are many like it,
but this one is mine.
Object2:
Type: AWS::S3::Object
Properties:
Target:
Bucket: !Ref Bucket
Key: 1-pixel.gif
ACL: public-read
ContentType: image/png
Base64Body: R0lGODdhAQABAIABAP///0qIbCwAAAAAAQABAAACAkQBADs=
Object3:
Type: AWS::S3::Object
Properties:
Source:
Bucket: !GetAtt Object1.Bucket
Key: !GetAtt Object1.Key
Target:
Bucket: !Ref Bucket
Key: README-copy.md
ACL: public-read