CfnUserPoolUserToGroupAttachmentProps

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

Bases: object

Properties for defining a AWS::Cognito::UserPoolUserToGroupAttachment.

Parameters
  • group_name (str) – AWS::Cognito::UserPoolUserToGroupAttachment.GroupName.

  • username (str) – AWS::Cognito::UserPoolUserToGroupAttachment.Username.

  • user_pool_id (str) – AWS::Cognito::UserPoolUserToGroupAttachment.UserPoolId.

Link

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

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

AWS::Cognito::UserPoolUserToGroupAttachment.GroupName.

Link

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

Return type

str

user_pool_id

AWS::Cognito::UserPoolUserToGroupAttachment.UserPoolId.

Link

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

Return type

str

username

AWS::Cognito::UserPoolUserToGroupAttachment.Username.

Link

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

Return type

str