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-22T02:23:59.182Z")
@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
Modifier and TypeInterfaceDescriptionstatic final class
A builder forUserPoolClientProps
static final class
An implementation forUserPoolClientProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic UserPoolClientProps.Builder
builder()
The UserPool resource this client will have access to.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
Methods 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.Builder
ofUserPoolClientProps
-