Package 

Class SsmEnvLoader

  • All Implemented Interfaces:
    ca.nexapp.lambdas.contexts.env.LambdaEnvLoader

    
    public final class SsmEnvLoader
     implements LambdaEnvLoader
                        

    Loads and decrypts variables from SSM Parameter Store Path Make sure that your environment has the required IAM policies to access requested variables

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
      SsmEnvLoader(String ssmPath, SsmClient ssm)
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      <ERROR CLASS> load(String env) Loads a required environment variable
      • Methods inherited from class ca.nexapp.lambdas.contexts.env.SsmEnvLoader

        tryLoad
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SsmEnvLoader

        SsmEnvLoader(String ssmPath, SsmClient ssm)
        Parameters:
        ssmPath - prefix to the SSM configuration (ex.
        ssm - SSM client
    • Method Detail

      • load

         <ERROR CLASS> load(String env)

        Loads a required environment variable

        Parameters:
        env - Variable name