AWS::Cognito::UserPoolUserToGroupAttachmentResource Type definition for AWS::Cognito::UserPoolUserToGroupAttachment
3 configurable properties. 3 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
GroupName | string | RequiredCreate-only |
Username | string | RequiredCreate-only |
UserPoolId | string | RequiredCreate-only |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::Cognito::UserPoolUserToGroupAttachment
Resources:
MyResource:
Type: AWS::Cognito::UserPoolUserToGroupAttachment
Properties:
UserPoolId: "my-userpoolid"
Username: "my-username"
GroupName: "my-groupname"Permissions CloudFormation needs in your IAM role to manage this resource.
cognito-idp:AdminAddUserToGroupcognito-idp:AdminListGroupsForUsercognito-idp:AdminRemoveUserFromGroupcognito-idp:AdminListGroupsForUsercognito-idp:AdminListGroupsForUserEverything you need to know about Cognito on one page. HD quality, print-friendly.
Download Free InfographicUserPoolIdThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
UserPoolIdGroupNameUsername