The following contains an AWS Serverless implementation of the Piral Feed Service
It serves as a Proof-Of-Concent, and only implments the most basic of feed functions.
Credits
The lambda/helpers
directory is basically a direct rip from https://github.com/smapiot/sample-pilet-service
with minor changes to the pilet.ts
class for.
Due to API Gateway limits of processing a 6MB post request, the actual processing of the Pilet's is done after the file is upload.
I.E. npx pilet publish --url https://...
will NOT get the expected return results, and will always return 200.
There is currently NO authentication in place. It is HIGHLY recomended that you implement an API authorizer for this route.
This is a blank project for CDK development with TypeScript.
The cdk.json
file tells the CDK Toolkit how to execute your app.
npm run build
compile typescript to jsnpm run watch
watch for changes and compilenpm run test
perform the jest unit testsnpx cdk deploy
deploy this stack to your default AWS account/regionnpx cdk diff
compare deployed stack with current statenpx cdk synth
emits the synthesized CloudFormation template