Skip to content
This repository was archived by the owner on Jan 19, 2022. It is now read-only.

Commit 64aae34

Browse files
Merge remote-tracking branch 'origin/2.3.x' into master
2 parents fe32dcd + 42e5799 commit 64aae34

File tree

2 files changed

+33
-1
lines changed

2 files changed

+33
-1
lines changed

.github/workflows/upload-docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
restore-keys: |
2424
${{ runner.os }}-maven-
2525
- name: Build docs
26-
run: ./mvnw -pl docs clean package -Pdocs
26+
run: ./mvnw clean package -Pdocs,spring -DskipTests=true
2727
- name: Upload to S3
2828
env:
2929
AWS_ACCESS_KEY_ID: ${{ secrets.S3_AWS_ACCESS_KEY }}

docs/src/main/asciidoc/ses.adoc

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,3 +164,35 @@ e-mail receiver otherwise the mail sender will throw a `com.amazonaws.services.s
164164

165165
https://docs.aws.amazon.com/ses/latest/DeveloperGuide/request-production-access.html[Production access] can be requested
166166
and will disable the need for mail address verification.
167+
168+
=== IAM Permissions
169+
red
170+
Following IAM permissions are required by Spring Cloud AWS:
171+
172+
[cols="2"]
173+
|===
174+
| Send e-mail without attachment
175+
| `ses:SendEmail`
176+
177+
| Send e-mail with attachment
178+
| `ses:SendRawEmail`
179+
180+
|===
181+
182+
Sample IAM policy granting access to SES:
183+
184+
[source,json,indent=0]
185+
----
186+
{
187+
"Version": "2012-10-17",
188+
"Statement": [
189+
{
190+
"Effect": "Allow",
191+
"Action": [
192+
"ses:SendEmail",
193+
"ses:SendRawEmail"
194+
],
195+
"Resource": "arn:aws:ses:your:arn"
196+
}
197+
]
198+
}

0 commit comments

Comments
 (0)