Question: I'm trying to setup an AWS Lambda function that gets triggered when a CloudWatch alarm sends a message to an SNS topic. I'm following along in this guide:

<https://medium.com/analytics-vidhya/generate-slack-notifications-for-aws-cloudwatch-alarms-e46b68540133>

I'm stuck at step 6 at the point where it says to add the trigger to the function. I select my SNS topic as the trigger but when I hit Add it gives me the following error:

> 
> An error occurred when creating the trigger: Invalid parameter:
> Invalid protocol type: lambda (Service: AmazonSNS; Status Code: 400;
> Error Code: InvalidParameter; Request ID:
> 343350ee-b514-5c7c-8180-08fe5fd643ec; Proxy: null)
> 
> 
> 

[![enter image description here](https://i.stack.imgur.com/KXZWz.png)](https://i.stack.imgur.com/KXZWz.png)

Does anybody know what that error means and what I can do about it?

Thanks

Answer: 
I ran into this problem recently...

As of now, Lambda only supports Standard SNS topics.

You will need to change your SNS topic from FIFO to Standard.
Thanks DanielWsk, looks like fifo only works with SQS. It was there but didn't see it.

[![enter image description here](https://i.stack.imgur.com/A65b5.png)](https://i.stack.imgur.com/A65b5.png)