# Configuration warning at function event should be string

**URL:** <https://forum.serverless.com/t/configuration-warning-at-function-event-should-be-string/13863>\
**Category:** Serverless Framework\
**Tags:** lambda, cloudformation, api-gateway\
**Created:** [January 26, 2021, 10:32am UTC](https://forum.serverless.com/t/configuration-warning-at-function-event-should-be-string/13863 "2021-01-26T10:32:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![SamFrampton01](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/samframpton01/32/4668_2.png) [@SamFrampton01](https://forum.serverless.com/u/SamFrampton01)\
**Post date:** [January 26, 2021, 10:32am UTC](https://forum.serverless.com/t/configuration-warning-at-function-event-should-be-string/13863/1 "2021-01-26T10:32:17Z")

</div>

Hi,

I’m trying to attach an exported out value from SST App Stack and attach it to a function event. However, I when I do so it runs into a configuration validation error.

Configuration warning at ‘functions.createUser.events[1].cognitoUserPool.pool’: should be string

My yml file is:

```
  createUser:
handler: createUser.handler
description: function to create a new user
events:
  - http:
      path: user
      method: post
      cors: true
      authorizer: aws_iam  
  - cognitoUserPool:
      pool: !ImportValue ${self:custom.sstApp}-UserPoolName
      trigger: PreSignUp

```

My exported value from my sst app

```
new CfnOutput(this, 'UserPoolName', {
		value: userPool.userPoolProviderName,
		exportName: app.logicalPrefixedName('UserPoolName'),
	});

```

Can someone explain how why I’m running into configuration error? I’ve hit a brick wall for a few hours now.

---

<div class="post-metadata">

**Author:** ![beenmeckel](https://avatars.discourse-cdn.com/v4/letter/b/8dc957/32.png) [@beenmeckel](https://forum.serverless.com/u/beenmeckel)\
**Post date:** [February 27, 2021, 9:28pm UTC](https://forum.serverless.com/t/configuration-warning-at-function-event-should-be-string/13863/2 "2021-02-27T21:28:15Z")

</div>

I checked the `syno_mem_check` file as you have mentioned. The real function that checks the compability is actually in `libhwcontrol.so` shared library [Showbox](https://showbox.bio/) [jiofi.local.html](https://jfi.uno/jiofilocalhtml) [tplinklogin](https://adminlogin.co/tplinklogin/).
