public class AwsParamStorePropertySourceLocator extends Object implements org.springframework.cloud.bootstrap.config.PropertySourceLocator
CompositePropertySource
with various AwsParamStorePropertySource
instances based on
active profiles, application name and default context permutations.
Mostly copied from Spring Cloud Consul's config support, but without the option to have full config files in a
param value: with the AWS Parameter Store that wouldn't make sense, given the maximum size limit of 4096 characters
for a parameter value.Constructor and Description |
---|
AwsParamStorePropertySourceLocator(com.amazonaws.services.simplesystemsmanagement.AWSSimpleSystemsManagement ssmClient,
AwsParamStoreProperties properties) |
Modifier and Type | Method and Description |
---|---|
List<String> |
getContexts() |
org.springframework.core.env.PropertySource<?> |
locate(org.springframework.core.env.Environment environment) |
public AwsParamStorePropertySourceLocator(com.amazonaws.services.simplesystemsmanagement.AWSSimpleSystemsManagement ssmClient, AwsParamStoreProperties properties)
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.