Lambda Function that plots the number of post in Twitter per day to Pixela.
- AWS CloudWatch Events
- AWS Lambda
- ツイ廃あらーと
Variable | Description | Example |
---|---|---|
PIXELA_USERNAME |
Pixela's Username | mika |
PIXELA_ACCESS_TOKEN |
Pixela's Access Token | YOUR_ACCESS_TOKEN |
TWITTER_CONSUMER_KEY |
Twitter Application Consumer Key | YOUR_CONSUMER_KEY |
TWITTER_CONSUMER_SECRET |
Twitter Application Consumer Secret | YOUR_CONSUMER_SECRET |
TWITTER_ACCESS_TOKENS |
Access Token that account to be summarized | ACCESS_TOKEN_A, B, ... |
TWITTER_ACCESS_TOKEN_SECRETS |
Access Token Secret that account to be summarized | ACCESS_TOKEN_SECRET_A, B, ... |
npm run build:cdk
compile typescript to jsnpm run watch:cdk
watch for changes and compilecdk deploy
deploy this stack to your default AWS account/regioncdk diff
compare deployed stack with current statecdk synth
emits the synthesized CloudFormation template