Class AppConfigPropertySources

java.lang.Object
io.awspring.cloud.autoconfigure.config.appconfig.AppConfigPropertySources

public class AppConfigPropertySources extends Object
Provides prefix config import support.
Since:
4.1.0
Author:
Matej Nedic
  • Constructor Details

    • AppConfigPropertySources

      public AppConfigPropertySources()
  • Method Details

    • createPropertySource

      public @Nullable AppConfigPropertySource createPropertySource(RequestContext context, boolean optional, software.amazon.awssdk.services.appconfigdata.AppConfigDataClient client)
      Creates property source for given context.
      Parameters:
      context - property source context extracted from the parameter name
      optional - if creating context should fail with exception if parameter cannot be loaded
      client - AWS AppConfigData client
      Returns:
      a property source or null if config could not be loaded and optional is set to true