API Reference
    Preparing search index...
    • Searches a configuration with JMESPath and the Powertools custom functions.

      Install @aws-lambda-powertools/jmespath to use this optional helper.

      Parameters

      • expression: string

        Select the embedded Flag Document

      • data: unknown

        Supply the retrieved configuration

      Returns unknown

      import { appConfigAgentStore } from '@aws-lambda-powertools/feature-flags/appconfig-agent';
      import { search } from '@aws-lambda-powertools/feature-flags/envelope';

      const store = appConfigAgentStore({
      application: 'my-app', environment: 'prod', name: 'features',
      envelope: 'powertools_json(settings).flags', envelopeSearchFn: search,
      });