Overrides
The provider overrides key in the broadcast payload can be used to change the default behavior of the channel handler.
overrides >> providers >> ses
Examples
Overrides without Destination key
Overrides
{
"providers": {
"ses": {
"ConfigurationSetName": "SES-Email-Tracking",
"Content": {
"Simple": {
"Body": {
"Html": {
"Charset": "UTF-8",
"Data": "html body"
}
},
"Subject": {
"Charset": "UTF-8",
"Data": "Your company Scan Results"
}
}
},
"EmailTags": [
{
"Name": "Magicbell",
"Value": "notifications"
},
{
"Name": "NotificationSource",
"Value": "scans"
}
]
}
}
}
Payload
{
"ConfigurationSetName": "SES-Email-Tracking",
"Content": {
"Raw": null,
"Simple": {
"Body": {
"Html": {
"Charset": "UTF-8",
"Data": "html body"
},
"Text": null
},
"Headers": null,
"Subject": {
"Charset": "UTF-8",
"Data": "Your company Scan Results"
}
},
"Template": null
},
"Destination": {
"BccAddresses": null,
"CcAddresses": null,
"ToAddresses": [
"\u003cuser7@example.com\u003e"
]
},
"EmailTags": [
{
"Name": "Magicbell",
"Value": "notifications"
},
{
"Name": "NotificationSource",
"Value": "scans"
}
],
"EndpointId": null,
"FeedbackForwardingEmailAddress": null,
"FeedbackForwardingEmailAddressIdentityArn": null,
"FromEmailAddress": "\"MagicBell\" \u003ctest@example.com\u003e",
"FromEmailAddressIdentityArn": null,
"ListManagementOptions": null,
"ReplyToAddresses": null
}
With SES template tags
Overrides
{
"providers": {
"ses": {
"ConfigurationSetName": "SES-Email-Tracking",
"Content": {
"Simple": {
"Body": {
"Html": {
"Charset": "UTF-8",
"Data": "html body"
}
},
"Subject": {
"Charset": "UTF-8",
"Data": "Your company Scan Results"
}
}
},
"Destination": {
"ToAddresses": [
"example@gmail.com"
]
},
"EmailTags": [
{
"Name": "Magicbell",
"Value": "notifications"
},
{
"Name": "NotificationSource",
"Value": "scans"
}
],
"FromEmailAddress": "company \u003cnoreply@company.com\u003e"
}
}
}
Payload
{
"ConfigurationSetName": "SES-Email-Tracking",
"Content": {
"Raw": null,
"Simple": {
"Body": {
"Html": {
"Charset": "UTF-8",
"Data": "html body"
},
"Text": null
},
"Headers": null,
"Subject": {
"Charset": "UTF-8",
"Data": "Your company Scan Results"
}
},
"Template": null
},
"Destination": {
"BccAddresses": null,
"CcAddresses": null,
"ToAddresses": [
"example@gmail.com"
]
},
"EmailTags": [
{
"Name": "Magicbell",
"Value": "notifications"
},
{
"Name": "NotificationSource",
"Value": "scans"
}
],
"EndpointId": null,
"FeedbackForwardingEmailAddress": null,
"FeedbackForwardingEmailAddressIdentityArn": null,
"FromEmailAddress": "company \u003cnoreply@company.com\u003e",
"FromEmailAddressIdentityArn": null,
"ListManagementOptions": null,
"ReplyToAddresses": null
}