LambdAuth is a sample authentication service implemented with a server-less architecture, using AWS Lambda to host and execute the code and Amazon DynamoDB as persistent storage. This provides a cost-efficient solution that is scalable and highly available.

Source: LambdAuth, a server-less authentication service for Amazon Cognito