Skip to content
This repository was archived by the owner on Nov 10, 2021. It is now read-only.

Commit e9b11b5

Browse files
author
hicetnunc2000
committed
v2
0 parents  commit e9b11b5

File tree

10 files changed

+2945
-0
lines changed

10 files changed

+2945
-0
lines changed

.env

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
REACT_APP_FEED='http://localhost:3001/feed'
2+
REACT_APP_TZ='http://localhost:3001/tz'
3+
REACT_APP_OBJKT='http://localhost:3001/objkt'

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
/node_modules
2+
package-lock.json
Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
{
2+
"AWSTemplateFormatVersion": "2010-09-09",
3+
"Description": "The AWS CloudFormation template for this Serverless application",
4+
"Resources": {
5+
"ServerlessDeploymentBucket": {
6+
"Type": "AWS::S3::Bucket",
7+
"Properties": {
8+
"BucketEncryption": {
9+
"ServerSideEncryptionConfiguration": [
10+
{
11+
"ServerSideEncryptionByDefault": {
12+
"SSEAlgorithm": "AES256"
13+
}
14+
}
15+
]
16+
}
17+
}
18+
},
19+
"ServerlessDeploymentBucketPolicy": {
20+
"Type": "AWS::S3::BucketPolicy",
21+
"Properties": {
22+
"Bucket": {
23+
"Ref": "ServerlessDeploymentBucket"
24+
},
25+
"PolicyDocument": {
26+
"Statement": [
27+
{
28+
"Action": "s3:*",
29+
"Effect": "Deny",
30+
"Principal": "*",
31+
"Resource": [
32+
{
33+
"Fn::Join": [
34+
"",
35+
[
36+
"arn:",
37+
{
38+
"Ref": "AWS::Partition"
39+
},
40+
":s3:::",
41+
{
42+
"Ref": "ServerlessDeploymentBucket"
43+
},
44+
"/*"
45+
]
46+
]
47+
}
48+
],
49+
"Condition": {
50+
"Bool": {
51+
"aws:SecureTransport": false
52+
}
53+
}
54+
}
55+
]
56+
}
57+
}
58+
}
59+
},
60+
"Outputs": {
61+
"ServerlessDeploymentBucketName": {
62+
"Value": {
63+
"Ref": "ServerlessDeploymentBucket"
64+
}
65+
}
66+
}
67+
}

0 commit comments

Comments
 (0)