@Generated(value="jsii-pacmak/1.58.0 (build f8ba112)", date="2022-05-11T19:24:24.898Z") @Stability(value=Experimental) public interface UserPoolConfig extends software.amazon.jsii.JsiiSerializable
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.appsync.*;
import software.amazon.awscdk.services.cognito.*;
UserPool userPool;
UserPoolConfig userPoolConfig = UserPoolConfig.builder()
.userPool(userPool)
// the properties below are optional
.appIdClientRegex("appIdClientRegex")
.defaultAction(UserPoolDefaultAction.ALLOW)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
UserPoolConfig.Builder
A builder for
UserPoolConfig |
static class |
UserPoolConfig.Jsii$Proxy
An implementation for
UserPoolConfig |
| Modifier and Type | Method and Description |
|---|---|
static UserPoolConfig.Builder |
builder() |
default String |
getAppIdClientRegex()
(experimental) the optional app id regex.
|
default UserPoolDefaultAction |
getDefaultAction()
(experimental) Default auth action.
|
IUserPool |
getUserPool()
(experimental) The Cognito user pool to use as identity source.
|
@Stability(value=Experimental) @NotNull IUserPool getUserPool()
@Stability(value=Experimental) @Nullable default String getAppIdClientRegex()
Default: - None
@Stability(value=Experimental) @Nullable default UserPoolDefaultAction getDefaultAction()
Default: ALLOW
@Stability(value=Experimental) static UserPoolConfig.Builder builder()
UserPoolConfig.Builder of UserPoolConfigCopyright © 2022. All rights reserved.