-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathAmazonDynamoDBInfrastructureFullAccess.json
102 lines (102 loc) · 4.1 KB
/
AmazonDynamoDBInfrastructureFullAccess.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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "DynamoDBTableAndDAXAccess",
"Effect": "Allow",
"Action": [
"dynamodb:DescribeContributorInsights",
"dynamodb:RestoreTableToPointInTime",
"dynamodb:UpdateGlobalTable",
"dynamodb:DeleteTable",
"dynamodb:UpdateTableReplicaAutoScaling",
"dynamodb:DescribeTable",
"dynamodb:DescribeContinuousBackups",
"dynamodb:UpdateTimeToLive",
"dynamodb:CreateTable",
"dynamodb:UpdateGlobalTableSettings",
"dynamodb:UpdateTable",
"dynamodb:DescribeTableReplicaAutoScaling",
"dynamodb:ListTagsOfResource",
"dynamodb:CreateTableReplica",
"dynamodb:UpdateContributorInsights",
"dynamodb:CreateBackup",
"dynamodb:UpdateContinuousBackups",
"dynamodb:TagResource",
"dynamodb:CreateGlobalTable",
"dynamodb:ConditionCheckItem",
"dynamodb:UntagResource",
"dynamodb:DeleteTableReplica",
"dynamodb:DescribeTimeToLive",
"dynamodb:RestoreTableFromBackup",
"dax:DecreaseReplicationFactor",
"dax:DeleteCluster",
"dax:UpdateCluster",
"dax:TagResource",
"dax:CreateCluster",
"dax:UntagResource",
"dax:RebootNode",
"dax:DescribeClusters",
"dax:IncreaseReplicationFactor",
"dax:ListTags"
],
"Resource": [
"arn:aws:dax:${AWS::Region}:${AWS::AccountId}:cache/*",
"arn:aws:dynamodb:${AWS::Region}:${AWS::AccountId}:table/*"
]
},
{
"Sid": "DynamoDBTableSpecificAccess",
"Effect": "Allow",
"Action": [
"dynamodb:DescribeContributorInsights",
"dynamodb:UpdateContributorInsights",
"dynamodb:DescribeStream",
"dynamodb:UpdateGlobalTable",
"dynamodb:UpdateGlobalTableSettings",
"dynamodb:DescribeGlobalTableSettings",
"dynamodb:DescribeGlobalTable",
"dynamodb:RestoreTableFromBackup",
"dynamodb:CreateGlobalTable",
"dynamodb:DescribeBackup",
"dynamodb:DeleteBackup"
],
"Resource": [
"arn:aws:dynamodb:${AWS::Region}:${AWS::AccountId}:table/*/index/*",
"arn:aws:dynamodb:${AWS::Region}:${AWS::AccountId}:table/*/stream/*",
"arn:aws:dynamodb:${AWS::Region}:${AWS::AccountId}:table/*/backup/*",
"arn:aws:dynamodb:${AWS::Region}:${AWS::AccountId}:global-table/*"
]
},
{
"Sid": "HigherLevelAccess",
"Effect": "Allow",
"Action": [
"dax:DescribeParameters",
"dax:CreateSubnetGroup",
"dax:UpdateSubnetGroup",
"dax:DeleteParameterGroup",
"dax:DeleteSubnetGroup",
"dax:DescribeEvents",
"dax:DescribeSubnetGroups",
"dax:UpdateParameterGroup",
"dax:DescribeParameterGroups",
"dax:DescribeDefaultParameters",
"dax:CreateParameterGroup",
"dynamodb:ListTables",
"dynamodb:ListBackups",
"dynamodb:PurchaseReservedCapacityOfferings",
"dynamodb:ListStreams",
"dynamodb:ListContributorInsights",
"dynamodb:DescribeReservedCapacityOfferings",
"dynamodb:ListGlobalTables",
"dynamodb:DescribeReservedCapacity",
"dynamodb:DescribeLimits"
],
"Resource": [
"arn:aws:dax:${AWS::Region}:${AWS::AccountId}:*",
"arn:aws:dynamodb:${AWS::Region}:${AWS::AccountId}:*"
]
}
]
}