Amplify Toolbox
    Preparing search index...
    • Reference a non-sensitive value stored in SSM Parameter Store (free tier) — e.g. a feature flag, a custom domain, a connection ARN.

      Parameters

      • key: string

        Logical name (e.g. 'FEATURE_FLAGS'). Set the value out-of-band with config set <key> and read it at runtime with getConfig('<key>').

      • Optionaloptions: ManagedValueOptions

      Returns ConfigValue

      A ConfigValue marker.

      environment: { FEATURE_FLAGS: config('FEATURE_FLAGS') }   // → SSM Parameter Store
      const flags = await getConfig('FEATURE_FLAGS');