Skip navigation links
com.amazonaws.services.lambda.invoke

Class LambdaInvokerFactory

    • Method Detail

      • build

        public static <T> T build(Class<T> interfaceClass,
                                  AWSLambda awsLambda)
        Creates a new Lambda invoker implementing the given interface and wrapping the given AWSLambda client.
        Parameters:
        interfaceClass - the interface to implement
        awsLambda - the lambda client to use for making remote calls
      • build

        public static <T> T build(Class<T> interfaceClass,
                                  AWSLambda awsLambda,
                                  LambdaInvokerFactoryConfig config)
        Creates a new Lambda invoker implementing the given interface and wrapping the given AWSLambda client.
        Parameters:
        interfaceClass - the interface to implement
        awsLambda - the lambda client to use for making remote calls
        config - configuration for the LambdaInvokerFactory

Copyright © 2016. All rights reserved.