Class AwsLambdaEventsSerde

java.lang.Object
io.micronaut.starter.feature.aws.AwsLambdaEventsSerde
All Implemented Interfaces:
io.micronaut.core.naming.Described, io.micronaut.core.naming.Named, io.micronaut.core.order.Ordered, Feature, OpenRewriteFeature, AwsCloudFeature, AwsFeature, CloudFeature

@Requires(property="micronaut.starter.feature.aws.lambda.events.serde.enabled", value="true", defaultValue="true") @Singleton public class AwsLambdaEventsSerde extends Object implements AwsFeature, OpenRewriteFeature
Feature that enables support for Micronaut Serialization with AWS Lambda Java Events.

Adds the necessary configuration and dependencies to allow Micronaut applications to serialize and deserialize AWS Lambda event payloads using Micronaut Serialization.

Integrates with OpenRewrite to apply related code transformations.

  • Field Details

  • Constructor Details

    • AwsLambdaEventsSerde

      public AwsLambdaEventsSerde()
  • Method Details

    • getName

      @NonNull public @NonNull String getName()
      Description copied from interface: Feature
      The name of the feature. It must be unique.
      Specified by:
      getName in interface Feature
      Specified by:
      getName in interface io.micronaut.core.naming.Named
      Returns:
      the name of the feature
    • getTitle

      public String getTitle()
      Specified by:
      getTitle in interface Feature
      Returns:
      The title of the feature
    • getDescription

      @NonNull public @NonNull String getDescription()
      Specified by:
      getDescription in interface io.micronaut.core.naming.Described
      Specified by:
      getDescription in interface Feature
    • getRecipes

      public List<String> getRecipes(GeneratorContext generatorContext)
      Specified by:
      getRecipes in interface OpenRewriteFeature
    • getCategory

      public String getCategory()
      Specified by:
      getCategory in interface Feature
      Returns:
      The Category to which the feature belongs to.