Interface UserPoolClientProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable,UserPoolClientOptions
- All Known Implementing Classes:
UserPoolClientProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-21T06:34:05.615Z")
@Stability(Stable)
public interface UserPoolClientProps
extends software.amazon.jsii.JsiiSerializable, UserPoolClientOptions
Properties for the UserPoolClient construct.
Example:
UserPool importedPool;
UserPoolClient userPoolClient = UserPoolClient.Builder.create(this, "UserPoolClient")
.userPool(importedPool)
.generateSecret(true)
.build();
// Allows you to pass the generated secret to other pieces of infrastructure
SecretValue secret = userPoolClient.getUserPoolClientSecret();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forUserPoolClientPropsstatic final classAn implementation forUserPoolClientProps -
Method Summary
Modifier and TypeMethodDescriptionstatic UserPoolClientProps.Builderbuilder()The UserPool resource this client will have access to.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJsonMethods inherited from interface software.amazon.awscdk.services.cognito.UserPoolClientOptions
getAccessTokenValidity, getAuthFlows, getAuthSessionValidity, getDisableOAuth, getEnablePropagateAdditionalUserContextData, getEnableTokenRevocation, getGenerateSecret, getIdTokenValidity, getOAuth, getPreventUserExistenceErrors, getReadAttributes, getRefreshTokenValidity, getSupportedIdentityProviders, getUserPoolClientName, getWriteAttributes
-
Method Details
-
getUserPool
The UserPool resource this client will have access to. -
builder
- Returns:
- a
UserPoolClientProps.BuilderofUserPoolClientProps
-