Package io.micronaut.function.client.aws
Class AWSInvokeRequestDefinition
java.lang.Object
io.micronaut.function.client.aws.AWSInvokeRequestDefinition
- All Implemented Interfaces:
io.micronaut.function.client.FunctionDefinition
@EachProperty("aws.lambda.functions")
@Requires(classes=com.amazonaws.services.lambda.model.InvokeRequest.class)
public class AWSInvokeRequestDefinition
extends Object
implements io.micronaut.function.client.FunctionDefinition
Builds an
InvokeRequest
for each definition under aws.lambda.functions
.- Since:
- 1.0
- Author:
- graemerocher
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
protected com.amazonaws.services.lambda.model.InvokeRequest
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.micronaut.function.client.FunctionDefinition
getURI
-
Field Details
-
AWS_LAMBDA_FUNCTIONS
- See Also:
-
invokeRequest
@ConfigurationBuilder protected com.amazonaws.services.lambda.model.InvokeRequest invokeRequest
-
-
Constructor Details
-
AWSInvokeRequestDefinition
Constructor.- Parameters:
name
- configured name from a property
-
-
Method Details
-
getInvokeRequest
public com.amazonaws.services.lambda.model.InvokeRequest getInvokeRequest()- Returns:
- The
InvokeRequest
definition
-
getName
- Specified by:
getName
in interfaceio.micronaut.function.client.FunctionDefinition
-