Interface AWSParameterQueryProvider


@DefaultImplementation(io.micronaut.discovery.aws.parameterstore.DefaultParameterQueryProvider.class) public interface AWSParameterQueryProvider
Definition of a service that provides a list of ParameterQuery objects to be processed by the configuration client. Users who wish to search their own custom paths need to implement this interface and replace the default implementation:
 
 @Singleton
 @BootstrapContextCompatible
 @Replaces(AWSParameterQueryProvider.class)
 public class CustomParameterQueryProvider implements AWSParameterQueryProvider {

 ...

 }
 
Since:
2.3.0
Author:
ttzn
  • Method Details

    • getParameterQueries

      @NonNull @NonNull List<ParameterQuery> getParameterQueries(@NonNull @NonNull io.micronaut.context.env.Environment environment, @Nullable @Nullable String serviceId, @NonNull @NonNull AWSParameterStoreConfiguration configuration)
      Parameters:
      environment - the current application environment
      serviceId - the service ID or application name, if applicable
      configuration - the parameter store configuration
      Returns:
      a list of ParameterQuery that will be used to configure calls to the Parameter Store