AWS Java Lambda Development: Difference between revisions
Jump to navigation
Jump to search
(Created page with "=Internal= * AWS Lambda Development =Overview=") |
|||
(17 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
=External= | |||
* 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/java-programming-model.html Building Lambda Functions with Java] | |||
=Internal= | =Internal= | ||
* [[AWS Lambda Development#Subjects|AWS Lambda Development]] | * [[AWS Lambda Development#Subjects|AWS Lambda Development]] | ||
* [[AWS_SDK_for_Java_Version_2#Component_APIs|AWS SDK for Java Version 2]] | |||
* [[AWS_SDK_for_Java_Version_1#Component_APIs|AWS SDK for Java Version 1]] | |||
=Overview= | =Overview= | ||
=Playground= | |||
{{External|https://github.com/ovidiuf/playground/tree/master/amazon/lambda/java/01-simplest}} | |||
=Dependencies= | |||
<font color=darkgray>TODO: Gradle dependencies for ASW SDK for Java 2 look differently: https://kb.novaordis.com/index.php/AWS_SDK_for_Java_Version_2#Gradle_Project | |||
TODO: Gradle dependencies for ASW SDK for Java 1 look differently: https://kb.novaordis.com/index.php/AWS_SDK_for_Java_Version_1#Gradle_Project</font> | |||
SDK 1.0: http://repo1.maven.org/maven2/com/amazonaws/aws-java-sdk-lambda/ | |||
<syntaxhighlight lang='groovy'> | |||
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' | |||
} | |||
</syntaxhighlight> | |||
=Deploy the AWS Lambda Function= | |||
* [[AWS Lambda Create a Lambda Function with Amazon Console|Create a Lambda Function with Amazon Console]] | |||
* [[AWS Lambda Create a Lambda Function with CloudFromation|Create a Lambda Function with CloudFormation]] |
Latest revision as of 05:43, 3 October 2021
External
- 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
- Building Lambda Functions with Java
Internal
Overview
Playground
Dependencies
TODO: Gradle dependencies for ASW SDK for Java 2 look differently: https://kb.novaordis.com/index.php/AWS_SDK_for_Java_Version_2#Gradle_Project
TODO: Gradle dependencies for ASW SDK for Java 1 look differently: https://kb.novaordis.com/index.php/AWS_SDK_for_Java_Version_1#Gradle_Project
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'
}