@ConfigurationProperties(value="aws.lambda") @Requires(classes=com.amazonaws.services.lambda.AWSLambdaAsyncClientBuilder.class) public class AWSLambdaConfiguration extends Object
Modifier and Type | Field and Description |
---|---|
static String |
PREFIX
Prefix for AWS Lambda settings.
|
Constructor and Description |
---|
AWSLambdaConfiguration(io.micronaut.configuration.aws.AWSClientConfiguration clientConfiguration,
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 String PREFIX
public AWSLambdaConfiguration(io.micronaut.configuration.aws.AWSClientConfiguration clientConfiguration, 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()