Class AWSLambdaConfiguration

java.lang.Object
io.micronaut.function.client.aws.AWSLambdaConfiguration

@ConfigurationProperties("aws.lambda") @Requires(classes=com.amazonaws.services.lambda.AWSLambdaAsyncClientBuilder.class) @Requires(property="aws.lambda") public class AWSLambdaConfiguration extends Object
Configuration options for AWS Lambda.
Since:
1.0
Author:
graemerocher
  • Field Details

  • Constructor Details

    • AWSLambdaConfiguration

      public AWSLambdaConfiguration(AWSClientConfiguration clientConfiguration, io.micronaut.context.env.Environment environment)
      Constructor.
      Parameters:
      clientConfiguration - clientConfiguration
      environment - environment
  • Method Details

    • getBuilder

      public com.amazonaws.services.lambda.AWSLambdaAsyncClientBuilder getBuilder()
      Returns:
      The builder for the AWSLambdaAsync instance
    • setMetricsCollector

      @Inject public void setMetricsCollector(@Nullable @Nullable com.amazonaws.metrics.RequestMetricCollector metricsCollector)
      Parameters:
      metricsCollector - The RequestMetricCollector
    • setEndpointConfiguration

      @Inject public void setEndpointConfiguration(@Nullable com.amazonaws.client.builder.AwsClientBuilder.EndpointConfiguration endpointConfiguration)
      Parameters:
      endpointConfiguration - The AwsClientBuilder.getEndpoint()
    • setRequestHandlers

      @Inject public void setRequestHandlers(@Nullable @Nullable com.amazonaws.handlers.RequestHandler2... handlers)
      Parameters:
      handlers - The RequestHandler2