1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
AWSTemplateFormatVersion: 2010-09-09
Description: Basic S3 Bucket CloudFormation template

Resources:
  S3BucketForWebsiteContent:
    Type: AWS::S3::Bucket
    Properties:
      AccessControl: PublicRead

Outputs:
  BucketName:
    Value: !Ref S3BucketForWebsiteContent
    Description: Name of the newly created Amazon S3 Distribution