Skip to main content

user_pools

Retrieves a list of user_pools in a region

Overview

Nameuser_pools
TypeResource
Descriptionuser_pools
Idawscc.cognito.user_pools

Fields

NameDatatypeDescription
user_pool_idstring
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
user_pool_id
FROM awscc.cognito.user_pools
WHERE region = 'us-east-1'

Permissions

To operate on the user_pools resource, the following permissions are required:

Create

cognito-idp:CreateUserPool,
iam:PassRole,
cognito-idp:SetUserPoolMfaConfig,
cognito-idp:DescribeUserPool,
kms:CreateGrant,
iam:CreateServiceLinkedRole

List

cognito-idp:ListUserPools