@Stability(value=Stable) public static final class UserPoolDomain.Builder extends Object implements software.amazon.jsii.Builder<UserPoolDomain>
UserPoolDomain.| Modifier and Type | Method and Description |
|---|---|
UserPoolDomain |
build() |
UserPoolDomain.Builder |
cognitoDomain(CognitoDomainOptions cognitoDomain)
Associate a cognito prefix domain with your user pool Either `customDomain` or `cognitoDomain` must be specified.
|
static UserPoolDomain.Builder |
create(software.constructs.Construct scope,
String id) |
UserPoolDomain.Builder |
customDomain(CustomDomainOptions customDomain)
Associate a custom domain with your user pool Either `customDomain` or `cognitoDomain` must be specified.
|
UserPoolDomain.Builder |
userPool(IUserPool userPool)
The user pool to which this domain should be associated.
|
@Stability(value=Stable) public static UserPoolDomain.Builder create(software.constructs.Construct scope, String id)
scope - This parameter is required.id - This parameter is required.UserPoolDomain.Builder.@Stability(value=Stable) public UserPoolDomain.Builder cognitoDomain(CognitoDomainOptions cognitoDomain)
Default: - not set if `customDomain` is specified, otherwise, throws an error.
cognitoDomain - Associate a cognito prefix domain with your user pool Either `customDomain` or `cognitoDomain` must be specified. This parameter is required.this@Stability(value=Stable) public UserPoolDomain.Builder customDomain(CustomDomainOptions customDomain)
Default: - not set if `cognitoDomain` is specified, otherwise, throws an error.
customDomain - Associate a custom domain with your user pool Either `customDomain` or `cognitoDomain` must be specified. This parameter is required.this@Stability(value=Stable) public UserPoolDomain.Builder userPool(IUserPool userPool)
userPool - The user pool to which this domain should be associated. This parameter is required.this@Stability(value=Stable) public UserPoolDomain build()
build in interface software.amazon.jsii.Builder<UserPoolDomain>Copyright © 2022. All rights reserved.