j40-cejst-2/infrastructure/resources-s3.yml

19 lines
453 B
YAML
Raw Normal View History

Resources:
DataBucket:
Type: AWS::S3::Bucket
Properties:
BucketName: ${self:custom.environment.DATA_BUCKET}
AccessControl: PublicRead
CorsConfiguration:
CorsRules:
- AllowedOrigins:
- "*"
AllowedMethods:
- GET
AllowedHeaders:
- Content-Length
WebsiteConfiguration:
IndexDocument: index.html
ErrorDocument: error.html