Integrating Micronaut with Alexa
As we discussed in the preceding section, in this section, we will start to understand how to integrate Micronaut with Alexa. Micronaut provides various extensions that support Amazon Web Services (AWS). The primary focus here will be on AWS Lambda. The micronaut-function-aws-alexa
module includes support for building Alexa skills with Micronaut. Micronaut Alexa support can wire up your Alexa application with AlexaFunction and supports dependency injection for the following types:
com.amazon.ask.dispatcher.request.handler.RequestHandler
com.amazon.ask.dispatcher.request.interceptor.RequestInterceptor
com.amazon.ask.dispatcher.exception.ExceptionHandler
com.amazon.ask.builder.SkillBuilder
Micronaut's aws-alexa
module simplifies how we can develop Alexa skills with Java, Kotlin, or Groovy. The following code is the Java Maven dependency for the aws-alexa
module:
<dependency> Â Â Â Â <groupId...