Create Java project with Maven archetype archetype-lambda

The AWS SDK for Java - Maven archetype for Java lambda function using AWS Java SDK 2.x

Create a Java Project by archetype archetype-lambda with Command Line:

mvn archetype:generate   -DgroupId="com.mycompany.app"   -DartifactId="my-app-id"   -DhandlerClassName="My-handlerClassName"   -DjavaSdkVersion="My-javaSdkVersion"   -Dservice="My-service"   -DhttpClient="My-httpClient"   -Dregion="My-region"   -DnettyOpenSslVersion="My-nettyOpenSslVersion"   -DarchetypeGroupId="software.amazon.awssdk"   -DarchetypeArtifactId="archetype-lambda"   -DarchetypeVersion="2.17.219"   -DinteractiveMode=false 

Required parameters for generate java project:

handlerClassName
validationRegex: none
javaSdkVersion
validationRegex: \d+\.\d+.\d+
service
validationRegex: none
httpClient
validationRegex: (url-connection-client|apache-client|netty-nio-client)
region
validationRegex: ^\w+-(\w+-)+\d+$
nettyOpenSslVersion
validationRegex: none

Details about maven archetype archetype-lambda

License

License

GroupId

GroupId

software.amazon.awssdk
ArtifactId

ArtifactId

archetype-lambda
Version

Version

2.17.219
Type

Type

maven-archetype
Description

Description

AWS Java SDK :: Archetype Lambda
The AWS SDK for Java - Maven archetype for Java lambda function using AWS Java SDK 2.x

How to add to project

mvn archetype:generate -DgroupId=<com.mycompany.app> -DartifactId=<my-app>  -DarchetypeGroupId=software.amazon.awssdk -DarchetypeArtifactId=archetype-lambda -DarchetypeVersion=2.17.219 -DinteractiveMode=false

Dependencies

provided (1)

Group / Artifact Type Version
software.amazon.awssdk : archetype-tools jar 2.17.219

Project Modules

There are no modules declared in this project.