File tree Expand file tree Collapse file tree 1 file changed +13
-13
lines changed
src/connections/storage/catalog/aws-s3 Expand file tree Collapse file tree 1 file changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -45,23 +45,23 @@ To complete this section, you need access to your AWS dashboard.
45
45
3 . Attach the following policy to the IAM role created in step 2. Replace ` <YOUR_BUCKET_NAME> ` with the name of the S3 bucket you created in step 1.
46
46
``` json
47
47
{
48
- "Version" : " 2012-10-17" ,
49
- "Statement" : [
50
- {
51
- "Sid" : " PutObjectsInBucket" ,
52
- "Effect" : " Allow" ,
53
- "Action" : [
54
- " s3:PutObject" ,
55
- " s3:PutObjectAcl"
56
- ],
57
- "Resource" : " arn:aws:s3:::<YOUR_BUCKET_NAME>/segment-logs/*"
58
- }
48
+ "Version" : " 2012-10-17" ,
49
+ "Statement" : [
50
+ {
51
+ "Sid" : " PutObjectsInBucket" ,
52
+ "Effect" : " Allow" ,
53
+ "Action" : [
54
+ " s3:PutObject" ,
55
+ " s3:PutObjectAcl"
56
+ ],
57
+ "Resource" : " arn:aws:s3:::<YOUR_BUCKET_NAME>/segment-logs/*"
58
+ }
59
59
]
60
60
}
61
61
```
62
62
If you're using KMS encryption on your S3 bucket, add the following policy to the IAM role:
63
63
```json
64
- {
64
+ {
65
65
"Version" : " 2012-10-17" ,
66
66
"Statement" : [
67
67
{
@@ -74,7 +74,7 @@ To complete this section, you need access to your AWS dashboard.
74
74
"Resource" : " <YOUR_KEY_ARN>"
75
75
}
76
76
]
77
- }
77
+ }
78
78
```
79
79
If you have server-side encryption enabled, see the [required configuration](#encryption).
80
80
You can’t perform that action at this time.
0 commit comments