This is based on official AWS Lambda Java Events v3.11.0 that aims to provide simplified Java models without JodaTime.
Gradle
implementation "io.goodforgod:aws-lambda-java-events:1.1.0"Maven
<dependency> <groupId>io.goodforgod</groupId> <artifactId>aws-lambda-java-events</artifactId> <version>1.1.0</version> </dependency>Library provides:
- All models provided as simple POJOs
- All models have unified structure so that all models can be easily build via ObjectMapper or other serialization engine.
- All models are build with Lombok to provide boiler-less source code for easier reading and understanding of model internals.
- All models use java.time. classes for time serialization.
- All models are Gson/Jackson compatible
- DynamoDB
DynamodbEventDynamodbTimeWindowEvent
- Gateway
APIGatewayProxyEventAPIGatewayProxyResponseAPIGatewayCustomAuthorizerEventAPIGatewayV2CustomAuthorizerEventAPIGatewayV2HTTPEventAPIGatewayV2HTTPResponseAPIGatewayV2WebSocketEventAPIGatewayV2WebSocketResponse
- Kinesis
KinesisAnalyticsFirehoseInputPreprocessingEventKinesisAnalyticsInputPreprocessingResponseKinesisAnalyticsOutputDeliveryEventKinesisAnalyticsOutputDeliveryResponseKinesisAnalyticsStreamsInputPreprocessingEventKinesisEventKinesisFirehoseEventKinesisTimeWindowEvent
- S3
S3BatchEventS3BatchResponseS3EventS3EventNotificationS3EventObjectLambdaEvent
- System
LoadBalancerRequestLoadBalancerResponseCloudFormationCustomResourceEventCloudFrontEventCloudWatchLogsEventCodeCommitEventConfigEventLambdaDestinationEventIamPolicyResponseSecretsManagerRotationEventSimpleIAMPolicyResponse
- Cognito
CognitoEventCognitoUserPoolCreateAuthChallengeEventCognitoUserPoolCustomMessageEventCognitoUserPoolDefineAuthChallengeEventCognitoUserPoolMigrateUserEventCognitoUserPoolPostAuthenticationEventCognitoUserPoolPostConfirmationEventCognitoUserPoolPreAuthenticationEventCognitoUserPoolPreSignUpEventCognitoUserPoolPreTokenGenerationEventCognitoUserPoolVerifyAuthChallengeResponseEvent
- Common
ActiveMQEventConnectEventIoTButtonEventKafkaEventLexEventScheduledEventSNSEventSQSEvent