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 Summary
Modifier and TypeMethodDescriptiongetParameterQueries
(io.micronaut.context.env.Environment environment, String serviceId, AWSParameterStoreConfiguration configuration)
-
Method Details
-
getParameterQueries
@NonNull List<ParameterQuery> getParameterQueries(@NonNull io.micronaut.context.env.Environment environment, @Nullable String serviceId, @NonNull AWSParameterStoreConfiguration configuration) - Parameters:
environment
- the current application environmentserviceId
- the service ID or application name, if applicableconfiguration
- the parameter store configuration- Returns:
- a list of
ParameterQuery
that will be used to configure calls to the Parameter Store
-