Calling a new API Gateway for lambda Create API key from console Require API key on a method Add Usage
Tag: AWS
AWS Lambda Functions
Documentation from serverless serverless pattern example code General Information By default, lambda execution time is up to 29 seconds invoked
Simple Async AWS Lambda Function Example
module.exports.handler = async event => { return event; } We want to ship this to an SQS queue onSuccess. give
AWS Event Source Mapping
Documentation Blog Example Yml: Type: AWS::Lambda::EventSourceMapping Properties: BatchSize: Integer BisectBatchOnFunctionError: Boolean DestinationConfig: DestinationConfig Enabled: Boolean EventSourceArn: String FunctionName: String FunctionResponseTypes:
New AWS Serverless Repo
Commands to start a new AWS serverless repo and add nodejs template. This will generate serverless.yml and an initial lambda
DynamoDB Data Stream
Basic Functionality Deal with Failure dynamoDB->lambda->cloudwatch aws-dynamodb-stream-lambda github sample code new item->dynamoDB->dynamoDB stream->lambda->sns New items dynamoDB stream to lambda tutorial
DynamoDB Query
DynamoDB Class Definition DynamoDB query cheat sheet So, all the logical operations that Dynamo supports for a query operations EQ
AWS DomumentDB
AWS DocumentDB (MongoDB Compatibility) walk through NOT an ec2 instance connect through VPC Connect Using Amazon EC2 Connecting to an
Mapping Domain Name to Lightsail Instance
Helpful Video: https://www.youtube.com/watch?v=qfQNMIOgV9E Prerequisite: Already registered a domain name in AWS Route 53 Already created a Lightsail instance Now, proceed
Add domain to AWS workmail
Helpful video: https://aws.amazon.com/premiumsupport/knowledge-center/add-verify-domain-workmail/ Buttom line: AWS needs to verify your domain and add authentication to your DNS records. Bluehost does