Skip to content

LambdaSharp/ServerlessPatterns

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Serverless .NET Patterns

This repository contains modules use for the Serverless .NET Patterns presentations.

Bitcoin.Topic

The Bitcoin.Topic module creates a Lambda function that publishes the most recent bitcoin price on an SNS topic. The SNS topic is exported from the CloudFormation stack so that other stacks can subscribe to it.

Bitcoin.Table

The Bitcoin.Table module creates a Lambda function that subscribes to the SNS topic from the BitcoinTopic stack and stores the received value in a DynamoDB table. Stored values are automatically forgotten after 15 minutes to minimize the number of stored rows. The DynamoDB table is exported for other stacks to query against.

Bitcoin.Event

The Bitcoin.Event module published the price from the SNS topic to the default EventBridge eventbus.

Deploy

lash deploy \
    Bitcoin.Topic:1.0@serverlesspatterns \
    Bitcoin.Table:1.0@serverlesspatterns \
    Bitcoin.Event:1.0@serverlesspatterns

About

This repository contains modules use for the Serverless .NET Patterns presentations.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published