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() |
PropertySource<?> |
locate(Environment environment) |
public AwsParamStorePropertySourceLocator(com.amazonaws.services.simplesystemsmanagement.AWSSimpleSystemsManagement ssmClient, AwsParamStoreProperties properties)
public PropertySource<?> locate(Environment environment)
locate
in interface org.springframework.cloud.bootstrap.config.PropertySourceLocator
Copyright © 2022 Pivotal Software, Inc.. All rights reserved.