AWS Java Lambda Development: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 3: Line 3:
* https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-create-api-as-simple-proxy-for-lambda.html
* https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-create-api-as-simple-proxy-for-lambda.html
* https://docs.aws.amazon.com/lambda/latest/dg/lambda-java-how-to-create-deployment-package.html
* https://docs.aws.amazon.com/lambda/latest/dg/lambda-java-how-to-create-deployment-package.html
 
* [https://docs.aws.amazon.com/lambda/latest/dg/java-programming-model.html Building Lambda Functions with Java]


=Internal=
=Internal=

Revision as of 21:21, 4 April 2019

External

Internal

Overview

Playground

https://github.com/ovidiuf/playground/tree/master/amazon/lambda/java/01-simplest

Dependencies

SDK 1.0: http://repo1.maven.org/maven2/com/amazonaws/aws-java-sdk-lambda/

repositories {
    
    mavenCentral()
}

dependencies {

    // SDK 1
    implementation 'com.amazonaws:aws-java-sdk-lambda:1.11.509'

    // This is required for integration with API Gateway
    implementation 'com.amazonaws:aws-lambda-java-events:2.2.5'
    implementation 'com.amazonaws:aws-lambda-java-core:1.2.0'
}

Create the AWS Lambda Function

AWS Lambda Operations - Create a Lambda Function