Interface KeyValueFetcher

All Known Subinterfaces:
SecretsKeyValueFetcher
All Known Implementing Classes:
SecretsManagerGroupNameAwareKeyValueFetcher, SecretsManagerKeyValueFetcher
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface KeyValueFetcher
Fetches a Map of properties for a given prefix.
Since:
2.8.0
Author:
Sergio del Amo
  • Method Details

    • keyValuesByPrefix

      @NonNull @NonNull Optional<Map> keyValuesByPrefix(@NonNull @NonNull String prefix)
      Parameters:
      prefix - AWS Distributed Configuration Resource's name prefix. E.g. /config/application_dev/
      Returns:
      A Map of configuration properties