@ConfigurationProperties(value="aws.lambda")
@Requires(classes=com.amazonaws.services.lambda.AWSLambdaAsyncClientBuilder.class) @Requires(property="aws.lambda")
public class AWSLambdaConfiguration
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PREFIX
Prefix for AWS Lambda settings.
|
Constructor and Description |
---|
AWSLambdaConfiguration(AWSClientConfiguration clientConfiguration,
io.micronaut.context.env.Environment environment)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
com.amazonaws.services.lambda.AWSLambdaAsyncClientBuilder |
getBuilder() |
void |
setEndpointConfiguration(com.amazonaws.client.builder.AwsClientBuilder.EndpointConfiguration endpointConfiguration) |
void |
setMetricsCollector(com.amazonaws.metrics.RequestMetricCollector metricsCollector) |
void |
setRequestHandlers(com.amazonaws.handlers.RequestHandler2... handlers) |
public static final java.lang.String PREFIX
public AWSLambdaConfiguration(AWSClientConfiguration clientConfiguration, io.micronaut.context.env.Environment environment)
clientConfiguration
- clientConfigurationenvironment
- environmentpublic com.amazonaws.services.lambda.AWSLambdaAsyncClientBuilder getBuilder()
AWSLambdaAsync
instance@Inject public void setMetricsCollector(@Nullable com.amazonaws.metrics.RequestMetricCollector metricsCollector)
metricsCollector
- The RequestMetricCollector
@Inject public void setEndpointConfiguration(@Nullable com.amazonaws.client.builder.AwsClientBuilder.EndpointConfiguration endpointConfiguration)
endpointConfiguration
- The AwsClientBuilder.getEndpoint()
@Inject public void setRequestHandlers(@Nullable com.amazonaws.handlers.RequestHandler2... handlers)
handlers
- The RequestHandler2