Skip to content

steliospaps/spike-ifttt-sam-lambda

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

architecture

architecture

dynamoDB Schema

Note: The TTL field is named expiresOn.

entity PK SK other fields
trigger TR#<triggerType>#<triggerID> (same as PK) triggerId:S,
triggerFields:S(stringifiedJson),
triggerEvents:S(StringifiedJson),
triggerType(instrument_price|prev_day_change),
expiresOn(if trigger deleted: only for triggerType=prev_day_change)
trigger event TR#<triggerType>#<triggerID> EV#<eventId(timestamp)> triggerEvent:S(StringifiedJson),
expiresOn (1 day)
instrument INSTRUMENT EPIC#<epic> epic:S, description:S, symbol:S

An introduction to dynamoDB can be found here

Partition and sort key best practices can be found here

requirements

you need:

  • copilot cli
  • aws cli
  • git
  • mvn
  • java11+
  • make
  • sam cli
  • docker
  • python3 (and pip)

Windows (wsl)

Assuming git and make installed:

sudo apt install maven docker.io docker-compose awscli python3-pip

Follow instructions to install sam cli in particular about installing brew

brew install aws/tap/aws-sam-cli
brew install aws/tap/copilot-cli

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published