我'm trying to integrate an API Gateway method to a SNS Topic using Cloudformation, but can'弄清楚 Uri
属性应该如何 .
对于连接到Lambda,它看起来像:
"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"
]
]
}
SNS的等价物是什么样的?
1 回答
将主题,主题和消息设置为请求参数的集成模板如下所示:
可以使用以下语法调用此实现: