@DefaultImplementation(value=io.micronaut.discovery.aws.parameterstore.DefaultParameterQueryProvider.class)
public interface AWSParameterQueryProvider
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:
{@code
Modifier and Type | Method and Description |
---|---|
java.util.List<ParameterQuery> |
getParameterQueries(io.micronaut.context.env.Environment environment,
java.util.Optional<java.lang.String> serviceId,
AWSParameterStoreConfiguration configuration) |
@NonNull java.util.List<ParameterQuery> getParameterQueries(@NonNull io.micronaut.context.env.Environment environment, @NonNull java.util.Optional<java.lang.String> serviceId, @NonNull AWSParameterStoreConfiguration configuration)
environment
- the current application environmentserviceId
- the service ID or application name, if applicableconfiguration
- the parameter store configurationParameterQuery
that will be used to configure calls
to the Parameter Store