Annotation Type LambdaFunction
An annotation that marks methods of an interface that are meant to be proxied to remote code
running on AWS Lambda. Methods may accept zero or one arguments, and may return zero or one
values. Inputs and outputs will be converted to/from JSON using the Jackson
ObjectMapper
.-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionThe name of the Lambda function to invoke for this annotated method.The type of invocation to use.The type of log to request from the service.
-
Element Details
-
functionName
String functionNameThe name of the Lambda function to invoke for this annotated method. If not explicitly set, the name of the interface method is used.public interface LambdaFunctions {
- See Also:
- Default:
""
-
invocationType
InvocationType invocationTypeThe type of invocation to use. If unspecified, defaults toRequestResponse
. If alogType
of anything other thanNone
is specified, the invocation type may only be set toRequestResponse
.public interface LambdaFunctions {
- See Also:
- Default:
RequestResponse
-
logType
LogType logTypeThe type of log to request from the service. If unspecified, no logs will be requested. If specified, the invocation type may only be set toRequestResponse
.When specified, the log information returned by the Lambda function will be emitted to the JCL log for the interface class at the
INFO
level.- See Also:
- Default:
None
-