This project tries to perform an aggregrations towards several RSS feeds on AWS
It includes following things:
- 2 dynamodb tables
- feed origin table
- feed item table
- 2 Lambda functions
- Fetching lambda
- triggered by cron job
- index the feeds from origin and put to feed item
- Serving lambda
- triggered by API gateway
- return the list of feed items in dynamodb
- Fetching lambda
After the init process completes and the virtualenv is created, you can use the following step to activate your virtualenv.
$ source .venv/bin/activate
If you are a Windows platform, you would activate the virtualenv like this:
% .venv\Scripts\activate.bat
Once the virtualenv is activated, you can install the required dependencies.
$ pip install -r requirements.txt
At this point you can now synthesize the CloudFormation template for this code.
$ cdk synth
To add additional dependencies, for example other CDK libraries, just add
them to your setup.py
file and rerun the pip install -r requirements.txt
command.
cdk ls
list all stacks in the appcdk synth
emits the synthesized CloudFormation templatecdk deploy
deploy this stack to your default AWS account/regioncdk diff
compare deployed stack with current statecdk docs
open CDK documentation
Enjoy!