Interface UserPoolGroupProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable,UserPoolGroupOptions
- All Known Implementing Classes:
UserPoolGroupProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-13T16:10:01.615Z")
@Stability(Stable)
public interface UserPoolGroupProps
extends software.amazon.jsii.JsiiSerializable, UserPoolGroupOptions
Props for UserPoolGroup construct.
Example:
UserPool userPool;
Role role;
UserPoolGroup.Builder.create(this, "UserPoolGroup")
.userPool(userPool)
.groupName("my-group-name")
.precedence(1)
.role(role)
.build();
// You can also add a group by using addGroup method.
userPool.addGroup("AnotherUserPoolGroup", UserPoolGroupOptions.builder()
.groupName("another-group-name")
.build());
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forUserPoolGroupPropsstatic final classAn implementation forUserPoolGroupProps -
Method Summary
Modifier and TypeMethodDescriptionstatic UserPoolGroupProps.Builderbuilder()The user pool to which this group is associated.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJsonMethods inherited from interface software.amazon.awscdk.services.cognito.UserPoolGroupOptions
getDescription, getGroupName, getPrecedence, getRole
-
Method Details
-
getUserPool
The user pool to which this group is associated. -
builder
- Returns:
- a
UserPoolGroupProps.BuilderofUserPoolGroupProps
-