Skip to content

Commit f329905

Browse files
committed
Add permission.
1 parent e559f9c commit f329905

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

permission-template.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -323,3 +323,12 @@ Resources:
323323
Fn::Sub: "${AlisAppId}-TopicsCryptoRankingIndex"
324324
Principal: "apigateway.amazonaws.com"
325325
SourceArn: !Sub ${RestApiArn}/*/GET/topics/crypto/ranking
326+
SearchTagsCountApiGatewayInvoke:
327+
Type: "AWS::Lambda::Permission"
328+
Properties:
329+
Action: "lambda:InvokeFunction"
330+
FunctionName:
331+
Fn::ImportValue:
332+
Fn::Sub: "${AlisAppId}-SearchTagsCount"
333+
Principal: "apigateway.amazonaws.com"
334+
SourceArn: !Sub ${RestApiArn}/*/GET/search/tags_count

0 commit comments

Comments
 (0)