-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaws-permissions.json
74 lines (74 loc) · 2.47 KB
/
aws-permissions.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
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "iamPolicy",
"Effect": "Allow",
"Action": [
"iam:DeletePolicy",
"iam:AttachRolePolicy",
"iam:DetachRolePolicy",
"iam:PutRolePolicy",
"iam:CreatePolicy",
"iam:GetPolicy",
"iam:GetPolicyVersion",
"iam:ListPolicyVersions",
"iam:DeleteRolePolicy",
"iam:ListEntitiesForPolicy",
"iam:CreateRole",
"iam:GetRole",
"iam:DeleteRole",
"iam:ListRolePolicies",
"iam:ListAttachedRolePolicies",
"iam:ListInstanceProfilesForRole",
"iam:PassRole",
"iam:ListAttachedGroupPolicies",
"iam:UpdateRole"
],
"Resource": [
"arn:aws:iam::<accountNumber>:role/*",
"arn:aws:iam::<accountNumber>:policy/*"
]
},
{
"Sid": "lambdaPolicy",
"Effect": "Allow",
"Action": [
"lambda:ListFunctions",
"lambda:ListEventSourceMappings",
"lambda:DeleteFunction",
"lambda:GetPolicy",
"lambda:InvokeAsync",
"lambda:GetFunctionConfiguration",
"lambda:CreateFunction",
"lambda:InvokeFunction",
"lambda:GetEventSourceMapping",
"lambda:GetFunction",
"lambda:ListVersionsByFunction",
"lambda:GetFunctionCodeSigningConfig",
"lambda:UpdateFunctionConfiguration"
],
"Resource": [
"arn:aws:lambda:*:<accountNumber>:event-source-mapping:*",
"arn:aws:lambda:*:<accountNumber>:function:*"
]
},
{
"Sid": "dynamoDbPolicy",
"Effect": "Allow",
"Action": [
"dynamodb:CreateTable",
"dynamodb:DeleteTable",
"dynamodb:ListTables",
"dynamodb:DescribeTable",
"dynamodb:DescribeContinuousBackups",
"dynamodb:DescribeTimeToLive",
"dynamodb:ListTagsOfResource",
"dynamodb:TagResource"
],
"Resource": [
"arn:aws:dynamodb:*:<accountNumber>:table/*"
]
}
]
}