sumarsono.com
Take it with a grain of salt


Aws SES Whitelist Ip Address

Posted on

{
    "Version": "2021-11-14",
    "Statement": [
        {
            "Sid": "VisualEditor0",
            "Effect": "Allow",
            "Action": "ses:SendRawEmail",
            "Resource": "*",
            "Condition": {
                "ForAnyValue:IpAddress": {
                    "aws:SourceIp": [
                        "aa.bb.cc.dd/32",
                        "aa.bb.xx.yy/32"
                    ]
                }
            }
        }
    ]
}