Class AWSParameterStoreConfigClient
java.lang.Object
io.micronaut.discovery.aws.parameterstore.AWSParameterStoreConfigClient
- All Implemented Interfaces:
- io.micronaut.core.naming.Described,- io.micronaut.discovery.config.ConfigurationClient
@Singleton
@Requires(env="ec2") @Requires(beans={AWSParameterStoreConfiguration.class,software.amazon.awssdk.services.ssm.SsmAsyncClient.class})
public class AWSParameterStoreConfigClient
extends Object
implements io.micronaut.discovery.config.ConfigurationClient
A 
ConfigurationClient implementation for AWS ParameterStore.- Since:
- 1.0
- Author:
- Rvanderwerf, graemerocher
- 
Field SummaryFields inherited from interface io.micronaut.discovery.config.ConfigurationClientCONFIGURATION_PREFIX, ENABLED, READ_TIMEOUT
- 
Method SummaryModifier and TypeMethodDescriptionprotected software.amazon.awssdk.services.ssm.SsmAsyncClientDescription.org.reactivestreams.Publisher<io.micronaut.context.env.PropertySource>getPropertySources(io.micronaut.context.env.Environment environment) Get your PropertySources from AWS Parameter Store.protected AWSParameterQueryProviderprotected voidsetClient(software.amazon.awssdk.services.ssm.SsmAsyncClient client) protected voidsetQueryProvider(AWSParameterQueryProvider queryProvider) Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.micronaut.core.naming.DescribedgetDescription
- 
Method Details- 
getPropertySourcespublic org.reactivestreams.Publisher<io.micronaut.context.env.PropertySource> getPropertySources(io.micronaut.context.env.Environment environment) Get your PropertySources from AWS Parameter Store. Property sources are expected to be set up in this way: \ config \ micronaut \ environment name \ app name \ If you want to change the base \configuration\micronaut set the property aws.system-manager.parameterStore.rootHierarchyPath- Specified by:
- getPropertySourcesin interface- io.micronaut.discovery.config.ConfigurationClient
- Parameters:
- environment- The environment
- Returns:
- property source objects by environment.
 
- 
getDescriptionDescription.- Specified by:
- getDescriptionin interface- io.micronaut.core.naming.Described
- Returns:
- the description
 
- 
setClientprotected void setClient(software.amazon.awssdk.services.ssm.SsmAsyncClient client) - Parameters:
- client- SsmAsyncClient client
 
- 
getClientprotected software.amazon.awssdk.services.ssm.SsmAsyncClient getClient()- Returns:
- SsmAsyncClient client
 
- 
getQueryProvider- Returns:
- query provider
 
- 
setQueryProvider- Parameters:
- queryProvider- query provider
 
 
-