Package io.micronaut.function.aws
Interface LambdaContextFactory
- All Known Implementing Classes:
DefaultLambdaContextFactory
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@DefaultImplementation(DefaultLambdaContextFactory.class)
@FunctionalInterface
public interface LambdaContextFactory
Register Lambda Context singletons for the current Handler execution.
- Since:
- 3.2.2
- Author:
- Sergio del Amo
-
Method Summary
Modifier and TypeMethodDescriptionvoid
registerSingletons
(@NonNull com.amazonaws.services.lambda.runtime.Context lambdaContext) Registers Lambda Context as a singleton.
-
Method Details
-
registerSingletons
void registerSingletons(@NonNull @NonNull com.amazonaws.services.lambda.runtime.Context lambdaContext) Registers Lambda Context as a singleton.- Parameters:
lambdaContext
- Lambda Context
-