Class ParameterStorePropertySources
java.lang.Object
io.awspring.cloud.autoconfigure.config.parameterstore.ParameterStorePropertySources
- Since:
- 2.3
- Author:
- EddĂș MelĂ©ndez
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreatePropertySource
(String context, boolean optional, software.amazon.awssdk.services.ssm.SsmClient client) Creates property source for given context.
-
Constructor Details
-
ParameterStorePropertySources
public ParameterStorePropertySources()
-
-
Method Details
-
createPropertySource
@Nullable public ParameterStorePropertySource createPropertySource(String context, boolean optional, software.amazon.awssdk.services.ssm.SsmClient client) Creates property source for given context.- Parameters:
context
- property source context equivalent to the parameter nameoptional
- if creating context should fail with exception if parameter cannot be loadedclient
- System Manager Management client- Returns:
- a property source or null if parameter could not be loaded and optional is set to true
-