1 Answer
- Newest
- Most votes
- Most comments
0
Hi.
The default policy is allowed.
You can allow only specific addresses by denying other than specific From addresses as shown below.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "XXX",
"Effect": "Deny",
"Principal": {
"AWS": "arn:aws:iam::XXX:user/ses-smtp-userXXX"
},
"Action": "ses:SendRawEmail",
"Resource": "arn:XXX:identity/XXX",
"Condition": {
"StringNotLike": {
"ses:FromAddress": "aws@example.com"
}
}
}
]
}
Relevant content
- asked 2 years ago
- asked 3 years ago
- asked 3 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 3 years ago