Class AppConfigPropertySources
java.lang.Object
io.awspring.cloud.autoconfigure.config.appconfig.AppConfigPropertySources
Provides prefix config import support.
- Since:
- 4.1.0
- Author:
- Matej Nedic
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable AppConfigPropertySourcecreatePropertySource(RequestContext context, boolean optional, software.amazon.awssdk.services.appconfigdata.AppConfigDataClient client) Creates property source for given context.
-
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 nameoptional- if creating context should fail with exception if parameter cannot be loadedclient- AWS AppConfigData client- Returns:
- a property source or null if config could not be loaded and optional is set to true
-