Skip to content

Commit c94786e

Browse files
committed
Updating JSON spacing
1 parent 597c61b commit c94786e

File tree

1 file changed

+29
-29
lines changed
  • src/connections/storage/catalog/aws-s3

1 file changed

+29
-29
lines changed

src/connections/storage/catalog/aws-s3/index.md

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -42,39 +42,39 @@ To complete this section, you need access to your AWS dashboard.
4242
1. When prompted to enter an Account ID, enter `595280932656`. (You cannot enter an ARN in this step. In step 4, you can update the `Principal` to a specific role after you create an IAM role.)
4343
2. Click the **Require External ID** checkbox.
4444
3. Enter your Segment Workspace ID in the **External ID** field.
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-
```json
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+
```json
4747
{
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-
]
60-
}
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+
]
60+
}
6161
```
6262
If you're using KMS encryption on your S3 bucket, add the following policy to the IAM role:
6363
```json
64-
{
65-
"Version": "2012-10-17",
66-
"Statement": [
67-
{
68-
"Sid": "AllowKMS",
69-
"Effect": "Allow",
70-
"Action": [
71-
"kms:GenerateDataKey",
72-
"kms:Decrypt"
73-
],
74-
"Resource": "<YOUR_KEY_ARN>"
75-
}
76-
]
77-
}
64+
{
65+
"Version": "2012-10-17",
66+
"Statement": [
67+
{
68+
"Sid": "AllowKMS",
69+
"Effect": "Allow",
70+
"Action": [
71+
"kms:GenerateDataKey",
72+
"kms:Decrypt"
73+
],
74+
"Resource": "<YOUR_KEY_ARN>"
75+
}
76+
]
77+
}
7878
```
7979
If you have server-side encryption enabled, see the [required configuration](#encryption).
8080

0 commit comments

Comments
 (0)