Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit9eb7cce

Browse files
committed
Adicionando código fonte da aplicação
1 parent9c59cf9 commit9eb7cce

7 files changed

+1205
-0
lines changed

‎.serverless/api-python-hello.zip

600 Bytes
Binary file not shown.
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)

[8]ページ先頭

©2009-2025 Movatter.jp