Last active
March 25, 2020 08:33
-
-
Save succi0303/06195f7f4eb7d26d47c86d7a0c0ade04 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
Resources: | |
myBucket: | |
Type: 'AWS::S3::Bucket' | |
myDistribution: | |
Type: 'AWS::CloudFront::Distribution' | |
Properties: | |
Origins: | |
- DomainName: !GetAtt | |
- myBucket | |
- DomainName | |
Id: myS3Origin | |
S3OriginConfig: {} | |
Enabled: 'true' | |
DefaultCacheBehavior: | |
TargetOriginId: myS3Origin | |
ForwardedValues: | |
QueryString: 'false' | |
ViewerProtocolPolicy: allow-all |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment