-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathAWSBackupServiceRolePolicyForS3Backup.json
112 lines (112 loc) · 3.1 KB
/
AWSBackupServiceRolePolicyForS3Backup.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
105
106
107
108
109
110
111
112
{
"Arn": "arn:aws:iam::aws:policy/AWSBackupServiceRolePolicyForS3Backup",
"CreateDate": "2022-02-18T17:40:24Z",
"DefaultVersionId": "v4",
"IsAttachable": true,
"Path": "/",
"PolicyId": "ANPAZKAPJZG4CGZAHUZ2D",
"PolicyName": "AWSBackupServiceRolePolicyForS3Backup",
"PolicyVersion": {
"CreateDate": "2024-05-17T17:12:03Z",
"Document": {
"Statement": [
{
"Action": [
"backup:TagResource"
],
"Condition": {
"StringEquals": {
"aws:PrincipalAccount": "${aws:ResourceAccount}"
}
},
"Effect": "Allow",
"Resource": "arn:aws:backup:*:*:recovery-point:*",
"Sid": "RecoveryPointTaggingPermissions"
},
{
"Action": [
"kms:Decrypt",
"kms:DescribeKey"
],
"Condition": {
"StringLike": {
"kms:ViaService": "s3.*.amazonaws.com"
}
},
"Effect": "Allow",
"Resource": "*",
"Sid": "KmsPermissions"
},
{
"Action": "cloudwatch:GetMetricData",
"Effect": "Allow",
"Resource": "*",
"Sid": "CloudWatchGetMetricDataPermissions"
},
{
"Action": "events:ListRules",
"Effect": "Allow",
"Resource": "*",
"Sid": "EventBridgeListRulesPermissions"
},
{
"Action": "s3:ListAllMyBuckets",
"Effect": "Allow",
"Resource": "*",
"Sid": "S3ListBucketPermissions"
},
{
"Action": [
"events:DeleteRule",
"events:DescribeRule",
"events:DisableRule",
"events:EnableRule",
"events:ListTargetsByRule",
"events:PutRule",
"events:PutTargets",
"events:RemoveTargets"
],
"Effect": "Allow",
"Resource": [
"arn:aws:events:*:*:rule/AwsBackupManagedRule*"
],
"Sid": "EventBridgePermissionsForAwsBackupManagedRule"
},
{
"Action": [
"s3:GetBucketAcl",
"s3:GetBucketLocation",
"s3:GetBucketNotification",
"s3:GetBucketTagging",
"s3:GetBucketVersioning",
"s3:GetInventoryConfiguration",
"s3:ListBucket",
"s3:ListBucketVersions",
"s3:PutBucketNotification",
"s3:PutInventoryConfiguration"
],
"Effect": "Allow",
"Resource": "arn:aws:s3:::*",
"Sid": "S3BucketPermissions"
},
{
"Action": [
"s3:GetObject",
"s3:GetObjectAcl",
"s3:GetObjectTagging",
"s3:GetObjectVersion",
"s3:GetObjectVersionAcl",
"s3:GetObjectVersionTagging"
],
"Effect": "Allow",
"Resource": "arn:aws:s3:::*/*",
"Sid": "S3ObjectPermissions"
}
],
"Version": "2012-10-17"
},
"IsDefaultVersion": true,
"VersionId": "v4"
},
"UpdateDate": "2024-05-17T17:12:03Z"
}