Class ParameterStoreConfigDataLocationResolver
java.lang.Object
io.awspring.cloud.autoconfigure.config.AbstractAwsConfigDataLocationResolver<ParameterStoreConfigDataResource>
io.awspring.cloud.autoconfigure.config.parameterstore.ParameterStoreConfigDataLocationResolver
- All Implemented Interfaces:
org.springframework.boot.context.config.ConfigDataLocationResolver<ParameterStoreConfigDataResource>
public class ParameterStoreConfigDataLocationResolver
extends AbstractAwsConfigDataLocationResolver<ParameterStoreConfigDataResource>
- Since:
- 2.3.0
- Author:
- EddĂș MelĂ©ndez, Matej Nedic
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionParameterStoreConfigDataLocationResolver
(org.springframework.boot.logging.DeferredLogFactory deferredLogFactory) -
Method Summary
Modifier and TypeMethodDescriptionprotected software.amazon.awssdk.services.ssm.SsmClient
createSimpleSystemManagementClient
(org.springframework.boot.BootstrapContext context) protected String
protected ParameterStoreProperties
loadProperties
(org.springframework.boot.context.properties.bind.Binder binder) resolveProfileSpecific
(org.springframework.boot.context.config.ConfigDataLocationResolverContext resolverContext, org.springframework.boot.context.config.ConfigDataLocation location, org.springframework.boot.context.config.Profiles profiles) Methods inherited from class io.awspring.cloud.autoconfigure.config.AbstractAwsConfigDataLocationResolver
configure, getCustomContexts, isResolvable, loadAwsProperties, loadCredentialsProperties, loadRegionProperties, registerAndPromoteBean, registerBean, registerBean, resolve
-
Field Details
-
PREFIX
AWS ParameterStore Config Data prefix.- See Also:
-
-
Constructor Details
-
ParameterStoreConfigDataLocationResolver
public ParameterStoreConfigDataLocationResolver(org.springframework.boot.logging.DeferredLogFactory deferredLogFactory)
-
-
Method Details
-
getPrefix
- Specified by:
getPrefix
in classAbstractAwsConfigDataLocationResolver<ParameterStoreConfigDataResource>
-
resolveProfileSpecific
public List<ParameterStoreConfigDataResource> resolveProfileSpecific(org.springframework.boot.context.config.ConfigDataLocationResolverContext resolverContext, org.springframework.boot.context.config.ConfigDataLocation location, org.springframework.boot.context.config.Profiles profiles) throws org.springframework.boot.context.config.ConfigDataLocationNotFoundException - Throws:
org.springframework.boot.context.config.ConfigDataLocationNotFoundException
-
createSimpleSystemManagementClient
protected software.amazon.awssdk.services.ssm.SsmClient createSimpleSystemManagementClient(org.springframework.boot.BootstrapContext context) -
loadProperties
protected ParameterStoreProperties loadProperties(org.springframework.boot.context.properties.bind.Binder binder)
-