diff template.yaml @ 8:f2442b8f43de

add outputs
author Dennis C. M. <dennis@denniscm.com>
date Mon, 05 Jun 2023 20:07:22 +0100
parents 7c5fb7573dd8
children
line wrap: on
line diff
--- a/template.yaml	Mon Jun 05 19:06:34 2023 +0100
+++ b/template.yaml	Mon Jun 05 20:07:22 2023 +0100
@@ -200,4 +200,10 @@
 
   GetTickersEndpoint:
     Description: "Endpoint to get tickers"
-    Value: !Sub "https://${Api}.execute-api.${AWS::Region}.amazonaws.com/Prod/ticker"
\ No newline at end of file
+    Value: !Sub "https://${Api}.execute-api.${AWS::Region}.amazonaws.com/Prod/ticker"
+
+  RestApiId:
+    Description: "The ID of the serverless rest API"
+    Value: !Ref Api
+    Export:
+      Name: FinanceParserRestApiId