Skip to main content

user_pool

Gets an individual user_pool resource

Overview

Nameuser_pool
TypeResource
Descriptionuser_pool
Idawscc.cognito.user_pool

Fields

NameDatatypeDescription
user_pool_namestring
policiesobject
account_recovery_settingobject
admin_create_user_configobject
alias_attributesarray
username_attributesarray
auto_verified_attributesarray
device_configurationobject
email_configurationobject
email_verification_messagestring
email_verification_subjectstring
deletion_protectionstring
lambda_configobject
mfa_configurationstring
enabled_mfasarray
sms_authentication_messagestring
sms_configurationobject
sms_verification_messagestring
schemaarray
username_configurationobject
user_attribute_update_settingsobject
user_pool_tagsobject
verification_message_templateobject
user_pool_add_onsobject
provider_namestring
provider_urlstring
arnstring
user_pool_idstring
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
user_pool_name,
policies,
account_recovery_setting,
admin_create_user_config,
alias_attributes,
username_attributes,
auto_verified_attributes,
device_configuration,
email_configuration,
email_verification_message,
email_verification_subject,
deletion_protection,
lambda_config,
mfa_configuration,
enabled_mfas,
sms_authentication_message,
sms_configuration,
sms_verification_message,
schema,
username_configuration,
user_attribute_update_settings,
user_pool_tags,
verification_message_template,
user_pool_add_ons,
provider_name,
provider_url,
arn,
user_pool_id
FROM awscc.cognito.user_pool
WHERE data__Identifier = '<UserPoolId>';

Permissions

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

Read

cognito-idp:DescribeUserPool

Update

cognito-idp:UpdateUserPool,
cognito-idp:ListTagsForResource,
cognito-idp:UntagResource,
cognito-idp:TagResource,
cognito-idp:SetUserPoolMfaConfig,
cognito-idp:AddCustomAttributes,
cognito-idp:DescribeUserPool,
iam:PassRole

Delete

cognito-idp:DeleteUserPool