aws-samples / aws-health-aware

AHA is an incident management & communication framework to provide real-time alert customers when there are active AWS event(s). For customers with AWS Organizations, customers can get aggregated active account level events of all the accounts in the Organization. Customers not using AWS Organizations still benefit alerting at the account level.
MIT No Attribution
348 stars 143 forks source link

Add SourceArn parameter to ses send_email #61

Open Raphael-D-S opened 1 year ago

Raphael-D-S commented 1 year ago

Hi,

SES send_email call should have the SendArn parameter. In the organizational context, SES identities are often defined on a dedicated aws account

https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/ses/client/send_email.html

https://github.com/aws-samples/aws-health-aware/blob/eae99ccd61f906dac22c94bd1464ba423864cfaa/handler.py#L267-L283