@Internal public static interface IUserPool.Jsii$Default extends IUserPool, IResource.Jsii$Default
IUserPool.IUserPool.Jsii$Default, IUserPool.Jsii$Proxy| Modifier and Type | Method and Description |
|---|---|
default UserPoolClient |
addClient(String id,
UserPoolClientOptions options)
(experimental) Add a new app client to this user pool.
|
default UserPoolDomain |
addDomain(String id,
UserPoolDomainOptions options)
(experimental) Associate a domain to this user pool.
|
default UserPoolResourceServer |
addResourceServer(String id,
UserPoolResourceServerOptions options)
(experimental) Add a new resource server to this user pool.
|
default ResourceEnvironment |
getEnv()
(experimental) The environment this resource belongs to.
|
default List<IUserPoolIdentityProvider> |
getIdentityProviders()
(experimental) Get all identity providers registered with this user pool.
|
default software.constructs.Node |
getNode()
The tree node.
|
default Stack |
getStack()
(experimental) The stack in which this resource is defined.
|
default String |
getUserPoolArn()
(experimental) The ARN of this user pool resource.
|
default String |
getUserPoolId()
(experimental) The physical ID of this user pool resource.
|
default void |
registerIdentityProvider(IUserPoolIdentityProvider provider)
(experimental) Register an identity provider with this user pool.
|
@Stability(value=Stable) @NotNull default software.constructs.Node getNode()
getNode in interface software.constructs.IConstructgetNode in interface software.constructs.IConstruct.Jsii$DefaultgetNode in interface IResource.Jsii$Default@Stability(value=Experimental) @NotNull default ResourceEnvironment getEnv()
For resources that are created and managed by the CDK (generally, those created by creating new class instances like Role, Bucket, etc.), this is always the same as the environment of the stack they belong to; however, for imported resources (those obtained from static methods like fromRoleArn, fromBucketName, etc.), that might be different than the stack they were imported into.
getEnv in interface IResourcegetEnv in interface IResource.Jsii$Default@Stability(value=Experimental) @NotNull default Stack getStack()
getStack in interface IResourcegetStack in interface IResource.Jsii$Default@Stability(value=Experimental) @NotNull default List<IUserPoolIdentityProvider> getIdentityProviders()
getIdentityProviders in interface IUserPool@Stability(value=Experimental) @NotNull default String getUserPoolArn()
getUserPoolArn in interface IUserPool@Stability(value=Experimental) @NotNull default String getUserPoolId()
getUserPoolId in interface IUserPool@Stability(value=Experimental) @NotNull default UserPoolClient addClient(@NotNull String id, @Nullable UserPoolClientOptions options)
@Stability(value=Experimental) @NotNull default UserPoolDomain addDomain(@NotNull String id, @NotNull UserPoolDomainOptions options)
@Stability(value=Experimental) @NotNull default 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)
default void registerIdentityProvider(@NotNull
IUserPoolIdentityProvider provider)
registerIdentityProvider in interface IUserPoolprovider - This parameter is required.Copyright © 2021. All rights reserved.