Package io.awspring.cloud.parameterstore
Class ParameterStorePropertySource
java.lang.Object
org.springframework.core.env.PropertySource<T>
org.springframework.core.env.EnumerablePropertySource<T>
io.awspring.cloud.core.config.AwsPropertySource<ParameterStorePropertySource,software.amazon.awssdk.services.ssm.SsmClient>
io.awspring.cloud.parameterstore.ParameterStorePropertySource
public class ParameterStorePropertySource
extends AwsPropertySource<ParameterStorePropertySource,software.amazon.awssdk.services.ssm.SsmClient>
Recursively retrieves all parameters under the given context / path with decryption from the AWS Parameter Store
using the provided SSM client.
- Since:
- 2.0.0
- Author:
- Joris Kuipers, EddĂș MelĂ©ndez, Maciej Walkowiak
-
Nested Class Summary
Nested classes/interfaces inherited from class org.springframework.core.env.PropertySource
PropertySource.StubPropertySource -
Field Summary
Fields inherited from class org.springframework.core.env.PropertySource
logger, name, source -
Constructor Summary
ConstructorsConstructorDescriptionParameterStorePropertySource(String context, software.amazon.awssdk.services.ssm.SsmClient ssmClient) -
Method Summary
Methods inherited from class org.springframework.core.env.EnumerablePropertySource
containsProperty
-
Constructor Details
-
ParameterStorePropertySource
public ParameterStorePropertySource(String context, software.amazon.awssdk.services.ssm.SsmClient ssmClient)
-
-
Method Details
-
init
public void init()- Specified by:
initin classAwsPropertySource<ParameterStorePropertySource,software.amazon.awssdk.services.ssm.SsmClient>
-
copy
- Specified by:
copyin classAwsPropertySource<ParameterStorePropertySource,software.amazon.awssdk.services.ssm.SsmClient>
-
getPropertyNames
- Specified by:
getPropertyNamesin classEnumerablePropertySource<software.amazon.awssdk.services.ssm.SsmClient>
-
getProperty
- Specified by:
getPropertyin classPropertySource<software.amazon.awssdk.services.ssm.SsmClient>
-