@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)
Add a new app client to this user pool.
|
default UserPoolDomain |
addDomain(String id,
UserPoolDomainOptions options)
Associate a domain to this user pool.
|
default UserPoolResourceServer |
addResourceServer(String id,
UserPoolResourceServerOptions options)
Add a new resource server to this user pool.
|
default void |
applyRemovalPolicy(RemovalPolicy policy)
Apply the given removal policy to this resource.
|
default ResourceEnvironment |
getEnv()
The environment this resource belongs to.
|
default List<IUserPoolIdentityProvider> |
getIdentityProviders()
Get all identity providers registered with this user pool.
|
default software.constructs.Node |
getNode()
The tree node.
|
default Stack |
getStack()
The stack in which this resource is defined.
|
default String |
getUserPoolArn()
The ARN of this user pool resource.
|
default String |
getUserPoolId()
The physical ID of this user pool resource.
|
default Grant |
grant(IGrantable grantee,
String... actions)
Adds an IAM policy statement associated with this user pool to an IAM principal's policy.
|
default void |
registerIdentityProvider(IUserPoolIdentityProvider provider)
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=Stable) @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=Stable) @NotNull default Stack getStack()
getStack in interface IResourcegetStack in interface IResource.Jsii$Default@Stability(value=Stable) @NotNull default List<IUserPoolIdentityProvider> getIdentityProviders()
getIdentityProviders in interface IUserPool@Stability(value=Stable) @NotNull default String getUserPoolArn()
getUserPoolArn in interface IUserPool@Stability(value=Stable) @NotNull default String getUserPoolId()
getUserPoolId in interface IUserPool@Stability(value=Stable)
default 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$Defaultpolicy - This parameter is required.@Stability(value=Stable) @NotNull default UserPoolClient addClient(@NotNull String id, @Nullable UserPoolClientOptions options)
addClient in interface IUserPoolid - This parameter is required.options - @Stability(value=Stable) @NotNull default UserPoolDomain addDomain(@NotNull String id, @NotNull UserPoolDomainOptions options)
addDomain in interface IUserPoolid - This parameter is required.options - This parameter is required.@Stability(value=Stable) @NotNull default UserPoolResourceServer addResourceServer(@NotNull String id, @NotNull UserPoolResourceServerOptions options)
addResourceServer in interface IUserPoolid - This parameter is required.options - This parameter is required.@Stability(value=Stable) @NotNull default Grant grant(@NotNull IGrantable grantee, @NotNull String... actions)
@Stability(value=Stable)
default void registerIdentityProvider(@NotNull
IUserPoolIdentityProvider provider)
registerIdentityProvider in interface IUserPoolprovider - This parameter is required.Copyright © 2022. All rights reserved.