CfnUserPoolUserToGroupAttachmentMixinProps
- class aws_cdk.mixins_preview.aws_cognito.mixins.CfnUserPoolUserToGroupAttachmentMixinProps(*, group_name=None, username=None, user_pool_id=None)
Bases:
objectProperties for CfnUserPoolUserToGroupAttachmentPropsMixin.
- Parameters:
group_name (
Optional[str]) – The name of the group that you want to add your user to.username (
Optional[str]) – The user’s username.user_pool_id (
Optional[str]) – The ID of the user pool that contains the group that you want to add the user to.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_cognito import mixins as cognito_mixins cfn_user_pool_user_to_group_attachment_mixin_props = cognito_mixins.CfnUserPoolUserToGroupAttachmentMixinProps( group_name="groupName", username="username", user_pool_id="userPoolId" )
Attributes
- group_name
The name of the group that you want to add your user to.
- user_pool_id
The ID of the user pool that contains the group that you want to add the user to.