Class AwsInvokeRequestDefinition

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

@EachProperty("aws.lambda.functions") public class AwsInvokeRequestDefinition extends Object implements io.micronaut.function.client.FunctionDefinition
Builds an AwsInvokeRequestDefinition for each definition under aws.lambda.functions.
Since:
4.7.0
  • Field Details

  • Constructor Details

    • AwsInvokeRequestDefinition

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

    • getName

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

      public String getFunctionName()
      Returns:
      The name or ARN of the Lambda function, version, or alias.
    • setFunctionName

      public void setFunctionName(String functionName)
      Parameters:
      functionName - The name or ARN of the Lambda function, version, or alias.
    • getQualifier

      public String getQualifier()
      Returns:
      Specify a version or alias to invoke a published version of the function.
    • getClientContext

      public String getClientContext()
      .
      Returns:
      Up to 3,583 bytes of base64-encoded data about the invoking client to pass to the function in the context object.
    • setQualifier

      public void setQualifier(String qualifier)
      .
      Parameters:
      qualifier - Specify a version or alias to invoke a published version of the function.
    • setClientContext

      public void setClientContext(String clientContext)
      Parameters:
      clientContext - Up to 3,583 bytes of base64-encoded data about the invoking client to pass to the function in the context object.