Skip to content
This repository has been archived by the owner on Aug 13, 2020. It is now read-only.

Commit

Permalink
feat(aws): enable dynamodb stream and export it
Browse files Browse the repository at this point in the history
closes #9
  • Loading branch information
MauricioRobayo committed Dec 14, 2018
1 parent b9dcde8 commit 1f92036
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ Resources:
ProvisionedThroughput:
ReadCapacityUnits: 1
WriteCapacityUnits: 1
StreamSpecification:
StreamViewType: NEW_IMAGE
Tags:
- Key: AppName
Value: !Ref AWS::StackName
Expand Down Expand Up @@ -63,6 +65,11 @@ Resources:
Tags:
AppName: !Ref AWS::StackName
Outputs:
DDBStream:
Description: DynamoDB Stream
Value: !GetAtt TrmTable.StreamArn
Export:
Name: !Sub "${AWS::StackName}-ddb-stream"
ApiUrl:
Description: Endpoint de API Gateway
Value: !Sub https://${ServerlessRestApi}.execute-api.${AWS::Region}.amazonaws.com/Prod/
Expand Down

0 comments on commit 1f92036

Please sign in to comment.