@Generated(value="jsii-pacmak/1.29.0 (build 41df200)", date="2021-06-02T09:55:16.768Z") @Stability(value=Experimental) public class UserPool extends Resource implements IUserPool
| Modifier and Type | Class and Description |
|---|---|
static class |
UserPool.Builder
(experimental) A fluent builder for
UserPool. |
software.amazon.jsii.JsiiObject.InitializationModeIUserPool.Jsii$Default, IUserPool.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
|
UserPool(software.constructs.Construct scope,
String id) |
|
UserPool(software.constructs.Construct scope,
String id,
UserPoolProps props) |
protected |
UserPool(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
UserPool(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
UserPoolClient |
addClient(String id)
(experimental) Add a new app client to this user pool.
|
UserPoolClient |
addClient(String id,
UserPoolClientOptions options)
(experimental) Add a new app client to this user pool.
|
UserPoolDomain |
addDomain(String id,
UserPoolDomainOptions options)
(experimental) Associate a domain to this user pool.
|
UserPoolResourceServer |
addResourceServer(String id,
UserPoolResourceServerOptions options)
(experimental) Add a new resource server to this user pool.
|
void |
addTrigger(UserPoolOperation operation,
IFunction fn)
(experimental) Add a lambda trigger to a user pool operation.
|
static IUserPool |
fromUserPoolArn(software.constructs.Construct scope,
String id,
String userPoolArn)
(experimental) Import an existing user pool based on its ARN.
|
static IUserPool |
fromUserPoolId(software.constructs.Construct scope,
String id,
String userPoolId)
(experimental) Import an existing user pool based on its id.
|
List<IUserPoolIdentityProvider> |
getIdentityProviders()
(experimental) Get all identity providers registered with this user pool.
|
String |
getUserPoolArn()
(experimental) The ARN of the user pool.
|
String |
getUserPoolId()
(experimental) The physical ID of this user pool resource.
|
String |
getUserPoolProviderName()
(experimental) User pool provider name.
|
String |
getUserPoolProviderUrl()
(experimental) User pool provider URL.
|
void |
registerIdentityProvider(IUserPoolIdentityProvider provider)
(experimental) Register an identity provider with this user pool.
|
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isResourcejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected UserPool(software.amazon.jsii.JsiiObjectRef objRef)
protected UserPool(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental)
public UserPool(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@Nullable
UserPoolProps props)
scope - This parameter is required.id - This parameter is required.props - @Stability(value=Experimental)
public UserPool(@NotNull
software.constructs.Construct scope,
@NotNull
String id)
scope - This parameter is required.id - This parameter is required.@Stability(value=Experimental) @NotNull public static IUserPool fromUserPoolArn(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String userPoolArn)
scope - This parameter is required.id - This parameter is required.userPoolArn - This parameter is required.@Stability(value=Experimental) @NotNull public static IUserPool fromUserPoolId(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String userPoolId)
scope - This parameter is required.id - This parameter is required.userPoolId - This parameter is required.@Stability(value=Experimental) @NotNull public UserPoolClient addClient(@NotNull String id, @Nullable UserPoolClientOptions options)
@Stability(value=Experimental) @NotNull public UserPoolClient addClient(@NotNull String id)
@Stability(value=Experimental) @NotNull public UserPoolDomain addDomain(@NotNull String id, @NotNull UserPoolDomainOptions options)
@Stability(value=Experimental) @NotNull public UserPoolResourceServer addResourceServer(@NotNull String id, @NotNull UserPoolResourceServerOptions options)
addResourceServer in interface IUserPoolid - This parameter is required.options - This parameter is required.https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-resource-servers.html@Stability(value=Experimental)
public void addTrigger(@NotNull
UserPoolOperation operation,
@NotNull
IFunction fn)
operation - This parameter is required.fn - This parameter is required.https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools-working-with-aws-lambda-triggers.html@Stability(value=Experimental)
public void registerIdentityProvider(@NotNull
IUserPoolIdentityProvider provider)
registerIdentityProvider in interface IUserPoolprovider - This parameter is required.@Stability(value=Experimental) @NotNull public List<IUserPoolIdentityProvider> getIdentityProviders()
getIdentityProviders in interface IUserPool@Stability(value=Experimental) @NotNull public String getUserPoolArn()
getUserPoolArn in interface IUserPool@Stability(value=Experimental) @NotNull public String getUserPoolId()
getUserPoolId in interface IUserPool@Stability(value=Experimental) @NotNull public String getUserPoolProviderName()
@Stability(value=Experimental) @NotNull public String getUserPoolProviderUrl()
Copyright © 2021. All rights reserved.