Testing your implementation
Laravel AWS Webhooks uses Laravel AWS SNS Events under the hood, so it exposes its
GeneratesSnsMessagestrait to generate valid SNS messages to send via HTTP POST on your defined endpoints.
Laravel AWS Webhooks also ships with an extended SNS trait that helps you generate messages for Cloudwatch OR SES in an easier manner:
class MyTest extends TestCase
public function testing_cloudwatch_alarm_state()
// Transitioning from ALARM to OK
$payload = $this->getCloudwatchMessage('ALARM', 'OK');