@Stability(value=Experimental) 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)
(experimental) 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)
(experimental) Associate a custom domain with your user pool Either `customDomain` or `cognitoDomain` must be specified.
|
UserPoolDomain.Builder |
userPool(IUserPool userPool)
(experimental) The user pool to which this domain should be associated.
|
@Stability(value=Experimental) 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=Experimental) 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.thishttps://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-assign-domain-prefix.html@Stability(value=Experimental) 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.thishttps://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-add-custom-domain.html@Stability(value=Experimental) public UserPoolDomain.Builder userPool(IUserPool userPool)
userPool - The user pool to which this domain should be associated. This parameter is required.this@Stability(value=Experimental) public UserPoolDomain build()
build in interface software.amazon.jsii.Builder<UserPoolDomain>Copyright © 2021. All rights reserved.