Class ParameterStorePropertySources

java.lang.Object
io.awspring.cloud.autoconfigure.config.parameterstore.ParameterStorePropertySources

public class ParameterStorePropertySources extends Object
Since:
2.3
Author:
EddĂș MelĂ©ndez
  • Constructor Details

    • ParameterStorePropertySources

      public ParameterStorePropertySources()
  • Method Details

    • createPropertySource

      @Nullable public ParameterStorePropertySource createPropertySource(String context, boolean optional, software.amazon.awssdk.services.ssm.SsmClient client)
      Creates property source for given context.
      Parameters:
      context - property source context equivalent to the parameter name
      optional - if creating context should fail with exception if parameter cannot be loaded
      client - System Manager Management client
      Returns:
      a property source or null if parameter could not be loaded and optional is set to true