Interface CfnUserPoolUserToGroupAttachmentProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnUserPoolUserToGroupAttachmentProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.121.0 (build d7af9b9)",
date="2025-12-18T18:20:07.473Z")
@Stability(Stable)
public interface CfnUserPoolUserToGroupAttachmentProps
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.cognito.*;
CfnUserPoolUserToGroupAttachmentProps cfnUserPoolUserToGroupAttachmentProps = CfnUserPoolUserToGroupAttachmentProps.builder()
.groupName("groupName")
.username("username")
.userPoolId("userPoolId")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnUserPoolUserToGroupAttachmentPropsstatic final classAn implementation forCfnUserPoolUserToGroupAttachmentProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()The name of the group that you want to add your user to.The user's username.The ID of the user pool that contains the group that you want to add the user to.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getGroupName
The name of the group that you want to add your user to.Returns union: either
StringorIUserPoolGroupRef- See Also:
-
getUsername
The user's username.Returns union: either
StringorIUserPoolUserRef- See Also:
-
getUserPoolId
The ID of the user pool that contains the group that you want to add the user to.Returns union: either
StringorIUserPoolRef- See Also:
-
builder
-