I'm trying to integrate an API Gateway method to a SNS Topic using Cloudformation, but can't figure out how the Uri
property should look like.
For connecting to Lambda it looks something like:
"Integration": {
"IntegrationHttpMethod": "POST",
"Type": "AWS",
"Uri": {
"Fn::Join": [
"",
[
"arn:aws:apigateway:",
{
"Ref": "AWS::Region"
},
":lambda:path/2015-03-31/functions/",
{
"Fn::GetAtt": [
"SomeLambdaFunction",
"Arn"
]
},
"/invocations"
]
]
}
What would the equivalent for SNS look like?