forked from msfidelis/serverless-architecture-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
deploy-policy.json
85 lines (85 loc) · 2.98 KB
/
deploy-policy.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "ServerlessDeploy",
"Effect": "Allow",
"Action": [
"iam:GetPolicyVersion",
"iam:GetRole",
"iam:GetPolicy",
"iam:GetRolePolicy",
"iam:PassRole",
"iam:ListRoles",
"iam:ListUserPolicies",
"iam:ListUsers",
"s3:CreateBucket",
"s3:ListObjects",
"s3:GetObjectAcl",
"s3:GetObjectVersionAcl",
"s3:DeleteObject",
"s3:HeadBucket",
"s3:GetBucketNotification",
"s3:PutObject",
"s3:GetObject",
"s3:GetBucketTagging",
"s3:ListBucketVersions",
"s3:ListBucket",
"s3:GetBucketPolicy",
"s3:DeleteBucket",
"s3:PutBucketVersioning",
"s3:GetBucketAcl",
"s3:ListAllMyBuckets",
"s3:GetBucketLocation",
"s3:GetObjectVersion",
"dynamodb:DeleteTable",
"dynamodb:DescribeTable",
"dynamodb:DescribeContinuousBackups",
"dynamodb:UpdateTable",
"dynamodb:ListTables",
"dynamodb:ListTagsOfResource",
"dynamodb:CreateBackup",
"dynamodb:CreateTable",
"dynamodb:DescribeReservedCapacity",
"dynamodb:DescribeReservedCapacityOfferings",
"dynamodb:TagResource",
"dynamodb:DescribeLimits",
"dynamodb:ListBackups",
"dynamodb:DescribeStream",
"dynamodb:DescribeTimeToLive",
"dynamodb:UntagResource",
"dynamodb:ListStreams",
"dynamodb:RestoreTableFromBackup",
"dynamodb:DeleteBackup",
"dynamodb:GetRecords",
"dynamodb:GetShardIterator",
"dynamodb:DescribeStream",
"dynamodb:ListStreams",
"apigateway:GET",
"apigateway:DELETE",
"apigateway:PATCH",
"apigateway:PUT",
"apigateway:OPTIONS",
"apigateway:POST",
"apigateway:HEAD",
"sqs:GetQueueUrl",
"sqs:GetQueueAttributes",
"sqs:PurgeQueue",
"sqs:DeleteQueue",
"sqs:ListQueueTags",
"sqs:ChangeMessageVisibilityBatch",
"sqs:SetQueueAttributes",
"sqs:ListQueues",
"sqs:ChangeMessageVisibility",
"sqs:TagQueue",
"sqs:ListDeadLetterSourceQueues",
"sqs:CreateQueue",
"lambda:*",
"cloudformation:*",
"logs:*",
"events:*"
],
"Resource": "*"
}
]
}