code: def ssm_parameter_store(*parameters):
      
      # support old list as 1st argument invocation style
      if len(parameters) == 1 and not isinstance(parameters[0], basestring):
          parameters = parameters[0]
  
      def wrapper_wrapper(handler):
          @wraps(handler)
          def wrapper(event, context):
              ssm = boto3.client('ssm')
              if not hasattr(context, 'parameters'):
                  context.parameters = {}
              for parameter in ssm.get_parameters(Names=parameters, WithDecryption=True)['Parameters']:
                  context.parameters[parameter['Name']] = parameter['Value']
  
              return handler(event, context)
  
          return wrapper
  
      return wrapper_wrapper
docs: Get parameters from the `AWS SSM Parameter Store <https://docs.aws.amazon.com/systems-manager/latest/userguide/systems-manager-paramstore.html>`_.
  
      Secrets are added to a dictionary named ``ssm_params`` on the context object.
  
      This requires your lambda to have the ``ssm:GetParameters`` permission on for requested parameters and
      ``kms:Decrypt`` for any keys used to encrypt the parameters.
  
      Usage::
  
        >>> from lambda_decorators import ssm_parameter_store
        >>> @ssm_parameter_store('/dschep/test')
        ... def param_getter(event, context):
        ...     return context.parameters
        >>> class Context:
        ...     pass
        >>> param_getter({}, Context())
        {'/dschep/test': 'f00b4r'}
  
      For more advanced SSM use, see `ssm-cache <https://github.com/alexcasalboni/ssm-cache-python>`_