Skip to content
This repository has been archived by the owner on Jul 18, 2024. It is now read-only.

Commit

Permalink
feat: add EventBus ARN parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
nmoutschen committed May 26, 2021
1 parent 26a08d9 commit 0164f61
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions platform/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,5 @@ _This service does not emit any event_
This service defines the following SSM parameters:

* `/ecommerce/{Environment}/platform/event-bus/name`: Event Bus Name
* `/ecommerce/{Environment}/platform/event-bus/arn`: Event Bus ARN
* `/ecommerce/{Environment}/platform/listener-api/url`: URL for the WebSocket Listener API
7 changes: 7 additions & 0 deletions platform/template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,13 @@ Resources:
Type: String
Value: !Ref EventBus

EventbusArnParameter:
Type: AWS::SSM::Parameter
Properties:
Name: !Sub /ecommerce/${Environment}/platform/event-bus/arn
Type: String
Value: !GetAtt EventBus.Arn

EventBusArchive:
Type: AWS::Events::Archive
Properties:
Expand Down

0 comments on commit 0164f61

Please sign in to comment.