CfnUserPoolUserToGroupAttachmentProps

class aws_cdk.aws_cognito.CfnUserPoolUserToGroupAttachmentProps(*, group_name, username, user_pool_id)

Bases: object

Properties for defining a CfnUserPoolUserToGroupAttachment.

Parameters:
  • group_name (str) – The group name.

  • username (str) – The username for the user.

  • user_pool_id (str) – The user pool ID for the user pool.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpoolusertogroupattachment.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_cognito as cognito

cfn_user_pool_user_to_group_attachment_props = cognito.CfnUserPoolUserToGroupAttachmentProps(
    group_name="groupName",
    username="username",
    user_pool_id="userPoolId"
)

Attributes

group_name

The group name.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpoolusertogroupattachment.html#cfn-cognito-userpoolusertogroupattachment-groupname

user_pool_id

The user pool ID for the user pool.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpoolusertogroupattachment.html#cfn-cognito-userpoolusertogroupattachment-userpoolid

username

The username for the user.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpoolusertogroupattachment.html#cfn-cognito-userpoolusertogroupattachment-username