# aws\_cognito\_user\_pools

Tells the service this field/object has access authorized by a Cognito User Pools token.

```
directive @aws_cognito_user_pools(

  cognito_groups: [String]

) on 

  | OBJECT

  | FIELD_DEFINITION
```

### Arguments[​](#arguments "Direct link to Arguments")

#### [`aws_cognito_user_pools.cognito_groups`](#cognito-groups) ● [`[String]`](https://docs.monei.com/apis/graphql/types/scalars/string/.md) list scalar[​](#cognito-groups "Direct link to cognito-groups")

List of cognito user pool groups which have access on this field
