package awscognito // Properties for defining a `CfnUserPoolUserToGroupAttachment`. // // Example: // // The code below shows an example of how to instantiate this type. // // The values are placeholders you should change. // import "github.com/aws/aws-cdk-go/awscdk" // // cfnUserPoolUserToGroupAttachmentProps := &CfnUserPoolUserToGroupAttachmentProps{ // GroupName: jsii.String("groupName"), // Username: jsii.String("username"), // UserPoolId: jsii.String("userPoolId"), // } // // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpoolusertogroupattachment.html // type CfnUserPoolUserToGroupAttachmentProps struct { // The group name. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpoolusertogroupattachment.html#cfn-cognito-userpoolusertogroupattachment-groupname // GroupName *string `field:"required" json:"groupName" yaml:"groupName"` // The username for the user. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpoolusertogroupattachment.html#cfn-cognito-userpoolusertogroupattachment-username // Username *string `field:"required" json:"username" yaml:"username"` // The user pool ID for the user pool. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpoolusertogroupattachment.html#cfn-cognito-userpoolusertogroupattachment-userpoolid // UserPoolId *string `field:"required" json:"userPoolId" yaml:"userPoolId"` }