@Internal public static final class IUserPool.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements IUserPool.Jsii$Default
software.amazon.jsii.JsiiObject.InitializationModeIUserPool.Jsii$Default, IUserPool.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
UserPoolClient |
addClient(String id)
Add a new app client to this user pool.
|
UserPoolClient |
addClient(String id,
UserPoolClientOptions options)
Add a new app client to this user pool.
|
UserPoolDomain |
addDomain(String id,
UserPoolDomainOptions options)
Associate a domain to this user pool.
|
UserPoolResourceServer |
addResourceServer(String id,
UserPoolResourceServerOptions options)
Add a new resource server to this user pool.
|
void |
applyRemovalPolicy(RemovalPolicy policy)
Apply the given removal policy to this resource.
|
ResourceEnvironment |
getEnv()
The environment this resource belongs to.
|
List<IUserPoolIdentityProvider> |
getIdentityProviders()
Get all identity providers registered with this user pool.
|
software.constructs.Node |
getNode()
The tree node.
|
Stack |
getStack()
The stack in which this resource is defined.
|
String |
getUserPoolArn()
The ARN of this user pool resource.
|
String |
getUserPoolId()
The physical ID of this user pool resource.
|
Grant |
grant(IGrantable grantee,
String... actions)
Adds an IAM policy statement associated with this user pool to an IAM principal's policy.
|
void |
registerIdentityProvider(IUserPoolIdentityProvider provider)
Register an identity provider with this user pool.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) @NotNull public final software.constructs.Node getNode()
getNode in interface IResource.Jsii$DefaultgetNode in interface IUserPool.Jsii$DefaultgetNode in interface software.constructs.IConstructgetNode in interface software.constructs.IConstruct.Jsii$Default@Stability(value=Stable) @NotNull public final 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$DefaultgetEnv in interface IUserPool.Jsii$Default@Stability(value=Stable) @NotNull public final Stack getStack()
getStack in interface IResourcegetStack in interface IResource.Jsii$DefaultgetStack in interface IUserPool.Jsii$Default@Stability(value=Stable) @NotNull public final List<IUserPoolIdentityProvider> getIdentityProviders()
getIdentityProviders in interface IUserPoolgetIdentityProviders in interface IUserPool.Jsii$Default@Stability(value=Stable) @NotNull public final String getUserPoolArn()
getUserPoolArn in interface IUserPoolgetUserPoolArn in interface IUserPool.Jsii$Default@Stability(value=Stable) @NotNull public final String getUserPoolId()
getUserPoolId in interface IUserPoolgetUserPoolId in interface IUserPool.Jsii$Default@Stability(value=Stable)
public final void applyRemovalPolicy(@NotNull
RemovalPolicy policy)
The Removal Policy controls what happens to this resource when it stops being managed by CloudFormation, either because you've removed it from the CDK application or because you've made a change that requires the resource to be replaced.
The resource can be deleted (RemovalPolicy.DESTROY), or left in your AWS
account for data recovery and cleanup later (RemovalPolicy.RETAIN).
applyRemovalPolicy in interface IResourceapplyRemovalPolicy in interface IResource.Jsii$DefaultapplyRemovalPolicy in interface IUserPool.Jsii$Defaultpolicy - This parameter is required.@Stability(value=Stable) @NotNull public final UserPoolClient addClient(@NotNull String id, @Nullable UserPoolClientOptions options)
addClient in interface IUserPooladdClient in interface IUserPool.Jsii$Defaultid - This parameter is required.options - @Stability(value=Stable) @NotNull public final UserPoolClient addClient(@NotNull String id)
addClient in interface IUserPoolid - This parameter is required.@Stability(value=Stable) @NotNull public final UserPoolDomain addDomain(@NotNull String id, @NotNull UserPoolDomainOptions options)
addDomain in interface IUserPooladdDomain in interface IUserPool.Jsii$Defaultid - This parameter is required.options - This parameter is required.@Stability(value=Stable) @NotNull public final UserPoolResourceServer addResourceServer(@NotNull String id, @NotNull UserPoolResourceServerOptions options)
addResourceServer in interface IUserPooladdResourceServer in interface IUserPool.Jsii$Defaultid - This parameter is required.options - This parameter is required.@Stability(value=Stable) @NotNull public final Grant grant(@NotNull IGrantable grantee, @NotNull String... actions)
grant in interface IUserPoolgrant in interface IUserPool.Jsii$Defaultgrantee - This parameter is required.actions - This parameter is required.@Stability(value=Stable)
public final void registerIdentityProvider(@NotNull
IUserPoolIdentityProvider provider)
registerIdentityProvider in interface IUserPoolregisterIdentityProvider in interface IUserPool.Jsii$Defaultprovider - This parameter is required.Copyright © 2022. All rights reserved.