SNS Payloads
You must have AWS SNS setup in your console to use this payload type. The below payload returns the event category when active; once the alert has cleared it returns CLEAR.
{
"timestamp": "${eventTimestamp}",
"category": "<#if payloadType == 'event_cleared'>CLEAR<#else>${eventCategory.name}</#if>",
"element": "${elementFqn}",
"policy": "${policyName}"
}