@Singleton @Requires(env="ec2") @Requires(beans={AWSParameterStoreConfiguration.class,software.amazon.awssdk.services.ssm.SsmAsyncClient.class}) public class AWSParameterStoreConfigClient extends java.lang.Object implements io.micronaut.discovery.config.ConfigurationClient
ConfigurationClient
implementation for AWS ParameterStore.Modifier and Type | Method and Description |
---|---|
protected software.amazon.awssdk.services.ssm.SsmAsyncClient |
getClient() |
java.lang.String |
getDescription()
Description.
|
org.reactivestreams.Publisher<io.micronaut.context.env.PropertySource> |
getPropertySources(io.micronaut.context.env.Environment environment)
Get your PropertySources from AWS Parameter Store.
|
protected AWSParameterQueryProvider |
getQueryProvider() |
protected void |
setClient(software.amazon.awssdk.services.ssm.SsmAsyncClient client) |
protected void |
setQueryProvider(AWSParameterQueryProvider queryProvider) |
public org.reactivestreams.Publisher<io.micronaut.context.env.PropertySource> getPropertySources(io.micronaut.context.env.Environment environment)
getPropertySources
in interface io.micronaut.discovery.config.ConfigurationClient
environment
- The environmentpublic java.lang.String getDescription()
getDescription
in interface io.micronaut.core.naming.Described
protected void setClient(software.amazon.awssdk.services.ssm.SsmAsyncClient client)
client
- SsmAsyncClient clientprotected software.amazon.awssdk.services.ssm.SsmAsyncClient getClient()
protected AWSParameterQueryProvider getQueryProvider()
protected void setQueryProvider(AWSParameterQueryProvider queryProvider)
queryProvider
- query provider