Skip to content

Latest commit

 

History

History

lambda-scheduled-events

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

JavaScript environment for tutorial using Amazon CloudWatch scheduled events to invoke AWS Lambda functions

This is a workspace where you can find an AWS SDK for JavaScript version 3 (v3) tutorial that demonstrates how to use Amazon CloudWatch scheduled events to invoke AWS Lambda functions.

The AWS SDK for JavaScript v3 Developer Guide contains these examples.

Getting started

  1. Clone the AWS Code Examples Repository to your local environment. See the Github documentation for instructions.

  2. Install the dependencies listed in the [root]/javascriptv3/example_code/cross-services/lambda-scheduled-events/package.json.

Note: These include the AWS SDK for JavaScript v3 client modules for the AWS services required in this example, which are @aws-sdk/client-cognito-identity, @aws-sdk/credential-provider-cognito-identity, @aws-sdk/client-dynamodb, @aws-sdk/client-iam, @aws-sdk/client-lambda, @aws-sdk/client-cloudformation, @aws-sdk/client-api-gateway, and*@aws-sdk/client-sns*

They also include third-party Node.js modules, including webpack.

npm install ts-node -g # If using JavaScript, enter 'npm install node -g' instead
cd javascriptv3/example_code/cross-services/lamba-api-gateway
npm install