-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathamazon_permission_backup_restore.json
104 lines (104 loc) · 3.91 KB
/
amazon_permission_backup_restore.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
103
104
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "VisualEditor0",
"Effect": "Allow",
"Action": [
"ssm:CancelCommand",
"ssm:SendCommand",
"ec2:CopySnapshot",
"ec2:AuthorizeSecurityGroupIngress",
"ssm:ListCommands",
"ec2:DescribeInstances",
"ec2:ModifyVolumeAttribute",
"ec2:CreateKeyPair",
"ec2:DescribeVolumesModifications",
"ec2:CreateImage",
"ec2:DescribeSnapshots",
"ec2:DeleteVolume",
"ec2:ModifySnapshotAttribute",
"ec2:ModifyImageAttribute",
"s3:PutBucketAcl",
"s3:GetBucketAcl",
"ec2:StartInstances",
"ec2:DescribeVolumes",
"ec2:DescribeAccountAttributes",
"ssm:ListDocuments",
"ec2:ImportImage",
"ec2:DescribeKeyPairs",
"iam:GetAccountAuthorizationDetails",
"s3:DeleteObject",
"ec2:DetachVolume",
"ec2:ModifyVolume",
"iam:GetRole",
"ec2:CreateTags",
"ec2:ModifyNetworkInterfaceAttribute",
"ec2:DeleteNetworkInterface",
"ec2:RunInstances",
"ec2:StopInstances",
"ec2:DescribeVolumeAttribute",
"ec2:CreateVolume",
"ec2:CreateSnapshot",
"ec2:CreateNetworkInterface",
"s3:PutObject",
"s3:GetObject",
"s3:PutObjectTagging",
"ec2:DisassociateIamInstanceProfile",
"ec2:DescribeSubnets",
"ec2:AttachVolume",
"ec2:DeregisterImage",
"ssm:DescribeDocument",
"ec2:DeleteSnapshot",
"ec2:DeleteTags",
"ec2:DescribeInstanceAttribute",
"ec2:DescribeRegions",
"s3:ListBucket",
"ec2:GetConsoleOutput",
"iam:PassRole",
"ec2:DescribeNetworkInterfaces",
"ec2:DescribeAvailabilityZones",
"ec2:DescribeNetworkInterfaceAttribute",
"ec2:CreateSecurityGroup",
"ec2:ModifyInstanceAttribute",
"s3:PutObjectAcl",
"ec2:DescribeInstanceStatus",
"ec2:AuthorizeSecurityGroupEgress",
"ec2:TerminateInstances",
"ec2:DetachNetworkInterface",
"ec2:DescribeIamInstanceProfileAssociations",
"ec2:DescribeTags",
"iam:ListRoles",
"sts:AssumeRole",
"ebs:ListChangedBlocks",
"ebs:ListSnapshotBlocks",
"ec2:DescribeImportImageTasks",
"ec2:DescribeSecurityGroups",
"ec2:DescribeImages",
"ssm:DescribeInstanceInformation",
"s3:ListAllMyBuckets",
"ec2:DescribeVpcs",
"ec2:AttachNetworkInterface",
"iam:GetUser",
"s3:GetBucketLocation",
"ec2:AssociateIamInstanceProfile",
"kms:ReEncrypt*",
"kms:GenerateDataKey*",
"kms:CreateGrant",
"kms:DescribeKey*",
"kms:ListKeys",
"kms:ListAliases",
"kms:Encrypt",
"kms:Decrypt",
"kms:GenerateDataKeyWithoutPlaintext",
"kms:ListResourceTags",
"kms:CreateKey",
"kms:CreateAlias",
"kms:ListGrants",
"kms:TagResource",
"iam:ListInstanceProfiles"
],
"Resource": "*"
}
]
}