public class AwsParamStorePropertySources extends Object
AwsParamStorePropertySource
and determining
automatic contexts.Constructor and Description |
---|
AwsParamStorePropertySources(AwsParamStoreProperties properties) |
Modifier and Type | Method and Description |
---|---|
AwsParamStorePropertySource |
createPropertySource(String context,
boolean optional,
com.amazonaws.services.simplesystemsmanagement.AWSSimpleSystemsManagement client)
Creates property source for given context.
|
List<String> |
getAutomaticContexts(List<String> profiles)
Returns a list of contexts applicable to profiles in ascending priority
order.
|
public AwsParamStorePropertySources(AwsParamStoreProperties properties)
public List<String> getAutomaticContexts(List<String> profiles)
profiles
- - active profilespublic AwsParamStorePropertySource createPropertySource(String context, boolean optional, com.amazonaws.services.simplesystemsmanagement.AWSSimpleSystemsManagement client)
context
- property source context equivalent to the parameter nameoptional
- if creating context should fail with exception if parameter cannot
be loadedclient
- System Manager Management clientCopyright © 2022 Pivotal Software, Inc.. All rights reserved.