sls-test-tools
aws-cdk
Our great sponsors
sls-test-tools | aws-cdk | |
---|---|---|
6 | 263 | |
187 | 11,137 | |
0.0% | 1.2% | |
0.0 | 9.9 | |
about 1 year ago | about 16 hours ago | |
TypeScript | TypeScript | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
sls-test-tools
-
Easy Integration Tests for Event-Driven AWS Architectures with EventScout π¨π
Creating an EventBridge target to dump events to SQS. This approach was proposed in several articles (here and here) and implemented in the sls-test-tools library
-
The Best Integration Testing Library for Serverless Projects Now Supports Typescript!
How can you achieve that? π€ Using sls-test-tools π
-
Testing AWS Step Functions flows
Check out the sls-test-tools as well. It is a great library. I'm using aws-testing-library because I'm used to it.
-
Integration testing tool for DynamoDB
Integration testing in serverless architectures can be challenging. Testing specific outcomes within managed services is cumbersome. sls-test-tools provides a range of utilities, setup, teardown and assertions to make it easier to write effective and high quality integration tests for Serverless Architectures on AWS.
-
Cloud Driven Development - Episode #001
sls-test-tools
-
Testing the Async Cloud with AWS CDK
When writing tests using something like aws-testing-library or sls-test-tools, we must have credentials to an AWS account that at least lets us send a few events and subscribe to or query the results in order to perform assertions. Depending on the stance of our organization about cloud access, this could be completely fine or it could be a never-gonna-happen dealbreaker. Often this kind of approach will be OK for a development environment, but it could be unlikely to fly in production.
aws-cdk
-
Deploy Laravel API To AWS Lambda
environment: Specifies the environment variable that will be available to our Lambda function. In this case I wrote an environment for RDS Database. Anyway, later I will write about AWS CDK using Python for creating database clusters, etc.
-
Building an Amazon Location Service Resources with AWS CDK and AWS CloudFormation
Today, I will show you how to build Amazon Location Service, which allows you to build location-based applications within your AWS environment using AWS Cloud Development Kit (AWS CDK) and AWS CloudFormation. I will also show examples of the recently popular CDK Migrate and AWS CloudFormation IaC generator.
-
DevSecOps with AWS- IaC at scale - Building your own platform - Part 1
AWS Cloud Development Kit (CDK): is an open-source software development framework to define your cloud application resources using familiar programming languages.
-
Cloud, why so difficult? π€·ββοΈ
I am not one to build programming languages on a whim. In fact, I've spent the last five years building the AWS CDK, which is a multi-language library that addresses some of the challenges I am talking about by allowing developers to define cloud infrastructure using their favorite programming language.
-
Create a Next.js Server Component S3 Picture Uploader with SST
I recently started exploring SST as an alternative to my favorite full-stack set consisting of Projen, AWS CDK, and React. I have been thoroughly impressed with the experience so far. In this article, I will demonstrate how to create a Next.js App Router S3 Picture Uploader using SST.
-
Starting My AWS Certification Journey as a Certified Cloud Practitioner
AWS CDK
-
Cloud Garbage ποΈ
For KMS π, Each key is ~$1/mo, and with CDK, keys are generated on a massive scale, if not centralized.
-
Building Serverless Applications On AWS: A Practical Guide To Managing Event Processing
Here is a github repository containing the code and instructions on how to automate this whole setup using AWS CDK.
-
How to Implement and Deploy a Smart Contract Event Listener with AWS CDK
Now that you have a working smart contract event listener, we'll deploy the resources to AWS using AWS CDK, which is an Infrastructure as Code (IaC) tool. AWS CDK allows you to configure, deploy, and manage AWS cloud resources using popular programming languages such as TypeScript.
-
Serverless Scheduled Reporting Service with AWS EventBridge, Lambda, SNS, and CDK
β¨ Synthesis time: 14.44s CdkScheduledReportingStack: start: Building f3a91fb0ff1605e49b4b00aa223098d7a9a5307e98027f77aecc36bc05a4c3e7:current_account-current_region CdkScheduledReportingStack: success: Built f3a91fb0ff1605e49b4b00aa223098d7a9a5307e98027f77aecc36bc05a4c3e7:current_account-current_region CdkScheduledReportingStack: start: Publishing f3a91fb0ff1605e49b4b00aa223098d7a9a5307e98027f77aecc36bc05a4c3e7:current_account-current_region CdkScheduledReportingStack: start: Building 517f907ce2318aa1a929b43bc1a0247ed509c92576c23a0a8aadfe1677f2ebd7:current_account-current_region CdkScheduledReportingStack: success: Built 517f907ce2318aa1a929b43bc1a0247ed509c92576c23a0a8aadfe1677f2ebd7:current_account-current_region CdkScheduledReportingStack: start: Publishing 517f907ce2318aa1a929b43bc1a0247ed509c92576c23a0a8aadfe1677f2ebd7:current_account-current_region CdkScheduledReportingStack: success: Published 517f907ce2318aa1a929b43bc1a0247ed509c92576c23a0a8aadfe1677f2ebd7:current_account-current_region CdkScheduledReportingStack: success: Published f3a91fb0ff1605e49b4b00aa223098d7a9a5307e98027f77aecc36bc05a4c3e7:current_account-current_region This deployment will make potentially sensitive changes according to your current security approval level (--require-approval broadening). Please confirm you intend to make the following modifications: IAM Statement Changes βββββ¬βββββββββββββββββββββββββββββββββββββββββ¬βββββββββ¬ββββββββββββββββββββββββ¬βββββββββββββββββββββββββββββββββββββββββ¬ββββββββββββββββββββββββββββββββββββββββββββββββ β β Resource β Effect β Action β Principal β Condition β βββββΌβββββββββββββββββββββββββββββββββββββββββΌβββββββββΌββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββββββββββββ€ β + β ${SalesReportFunction.Arn} β Allow β lambda:InvokeFunction β Service:events.amazonaws.com β "ArnLike": { β β β β β β β "AWS:SourceArn": "${Rule.Arn}" β β β β β β β } β βββββΌβββββββββββββββββββββββββββββββββββββββββΌβββββββββΌββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββββββββββββ€ β + β ${SalesReportFunction/ServiceRole.Arn} β Allow β sts:AssumeRole β Service:lambda.amazonaws.com β β βββββΌβββββββββββββββββββββββββββββββββββββββββΌβββββββββΌββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββββββββββββ€ β + β ${SalesReportTopic} β Allow β sns:Publish β AWS:${SalesReportFunction/ServiceRole} β β βββββ΄βββββββββββββββββββββββββββββββββββββββββ΄βββββββββ΄ββββββββββββββββββββββββ΄βββββββββββββββββββββββββββββββββββββββββ΄ββββββββββββββββββββββββββββββββββββββββββββββββ IAM Policy Changes βββββ¬βββββββββββββββββββββββββββββββββββββ¬βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β β Resource β Managed Policy ARN β βββββΌβββββββββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€ β + β ${SalesReportFunction/ServiceRole} β arn:${AWS::Partition}:iam::aws:policy/service-role/AWSLambdaBasicExecutionRole β βββββ΄βββββββββββββββββββββββββββββββββββββ΄βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ (NOTE: There may be security-related changes not in this list. See https://github.com/aws/aws-cdk/issues/1299) Do you wish to deploy these changes (y/n)?
What are some alternatives?
super-serverless-sample - Backend serverless que simula o sistema de votação do BBB
sst - Build modern full-stack applications on AWS
websocat - Command-line client for WebSockets, like netcat (or curl) for ws:// with advanced socat-like functions
aws-cdk-local - Thin wrapper script for using the AWS CDK CLI with LocalStack
aws-testing-library - Chai (https://chaijs.com) and Jest (https://jestjs.io/) assertions for testing services built with aws
middy - π΅ The stylish Node.js middleware engine for AWS Lambda π΅
aws-cdk-rfcs - RFCs for the AWS CDK
ts-node - TypeScript execution and REPL for node.js
eventbridge-atlas - Open-source tool to document, discover, and share your Amazon EventBridge schemas.
diy-sveltekit-cdk-adapter - An exercise on deploying SvelteKit with CDK
s3-to-lambda-patterns - Example applications for the S3-to-Lambda patterns series in the AWS Compute Blog and learning path. Questions? @jbesw.
SvelteKit - web development, streamlined