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