Skip to content

pbthorste/aws-lambda-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

aws-lambda-test

Some tests on AWS lambda using Apex

This project has AWS Lambda functions written in:

  • Python
  • Node.js
  • Java

AWS Setup

Create a role in AWS with the policy:

{
  "Version": "2012-10-17",
  "Statement": [
    {
        "Effect": "Allow",
        "Action": [
            "logs:CreateLogGroup",
            "logs:CreateLogStream",
            "logs:PutLogEvents",
            "logs:DescribeLogStreams"
        ],
        "Resource": "arn:aws:logs:*:<my accound id or *>:*"
    }
  ]
}

Operations

Deploy

apex deploy -e dev
apex deploy node-hello -e dev

Invoke

apex invoke -e dev
apex invoke java-hello -e dev

About

Some tests on AWS lambda using Apex

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published