@Retention(value=RUNTIME)
@Target(value=METHOD)
public @interface LambdaFunction
public interface MyEchoFunction {
@LambdaFunction(functionName = "echo", invocationType = "RequestResponse")
String echo(String str);
}
Modifier and Type | Optional Element and Description |
---|---|
java.lang.String |
functionName
The name of the function to invoke for this annotated method.
|
java.lang.String |
invocationType
The type of invocation to use (one of 'RequestResponse', 'Event', or
'DryRun').
|
java.lang.String |
logType
The type of log to request from the service, either 'None' as default or
'Tail'.
|
java.lang.String |
qualifier
The version or alias name of the function to invoke for this annotated
method.
|
public abstract java.lang.String functionName
public abstract java.lang.String invocationType
public abstract java.lang.String logType
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.
public abstract java.lang.String qualifier
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.