Class AWSInvokeRequestDefinition

java.lang.Object
io.micronaut.function.client.aws.AWSInvokeRequestDefinition
All Implemented Interfaces:
io.micronaut.function.client.FunctionDefinition

@EachProperty("aws.lambda.functions") @Requires(classes=com.amazonaws.services.lambda.model.InvokeRequest.class) public class AWSInvokeRequestDefinition extends Object implements io.micronaut.function.client.FunctionDefinition
Builds an InvokeRequest for each definition under aws.lambda.functions.
Since:
1.0
Author:
graemerocher
  • Field Details

    • AWS_LAMBDA_FUNCTIONS

      public static final String AWS_LAMBDA_FUNCTIONS
      See Also:
    • invokeRequest

      @ConfigurationBuilder protected com.amazonaws.services.lambda.model.InvokeRequest invokeRequest
  • Constructor Details

    • AWSInvokeRequestDefinition

      public AWSInvokeRequestDefinition(@Parameter String name)
      Constructor.
      Parameters:
      name - configured name from a property
  • Method Details

    • getInvokeRequest

      public com.amazonaws.services.lambda.model.InvokeRequest getInvokeRequest()
      Returns:
      The InvokeRequest definition
    • getName

      public String getName()
      Specified by:
      getName in interface io.micronaut.function.client.FunctionDefinition