user_pools
Retrieves a list of user_pools
in a region
Overview
Name | user_pools |
Type | Resource |
Description | user_pools |
Id | awscc.cognito.user_pools |
Fields
Name | Datatype | Description |
---|---|---|
user_pool_id | string | |
region | string | AWS 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