Skip to main content

user_pool_user_to_group_attachment

Gets an individual user_pool_user_to_group_attachment resource

Overview

Nameuser_pool_user_to_group_attachment
TypeResource
Descriptionuser_pool_user_to_group_attachment
Idawscc.cognito.user_pool_user_to_group_attachment

Fields

NameDatatypeDescription
user_pool_idstring
usernamestring
group_namestring
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
user_pool_id,
username,
group_name
FROM awscc.cognito.user_pool_user_to_group_attachment
WHERE data__Identifier = '<UserPoolId>|<GroupName>|<Username>';

Permissions

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

Delete

cognito-idp:AdminRemoveUserFromGroup,
cognito-idp:AdminListGroupsForUser

Read

cognito-idp:AdminListGroupsForUser