We will create a Lambda that gets triggered from AWS CLI using aws lambda invoke command and send messages to an SQS queue as a batch.
Let's start by defining the dependency for AWS Kinesis SDK for Java in the POM file, as shown in the following code:
<dependency> <groupId>com.amazonaws</groupId> <artifactId>aws-java-sdk-kinesis</artifactId> <version>${aws.sdk.version}</version></dependency>
The POM file also has dependencies for aws-lambda-java-core ...