Class CfnUserPoolDomainMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.cognito.CfnUserPoolDomainMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnUserPoolDomainMixinProps>
- Enclosing interface:
CfnUserPoolDomainMixinProps
@Stability(Stable)
public static final class CfnUserPoolDomainMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnUserPoolDomainMixinProps>
A builder for
CfnUserPoolDomainMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.customDomainConfig(CfnUserPoolDomainPropsMixin.CustomDomainConfigTypeProperty customDomainConfig) Sets the value ofCfnUserPoolDomainMixinProps.getCustomDomainConfig()customDomainConfig(IResolvable customDomainConfig) Sets the value ofCfnUserPoolDomainMixinProps.getCustomDomainConfig()Sets the value ofCfnUserPoolDomainMixinProps.getDomain()managedLoginVersion(Number managedLoginVersion) Sets the value ofCfnUserPoolDomainMixinProps.getManagedLoginVersion()userPoolId(String userPoolId) Sets the value ofCfnUserPoolDomainMixinProps.getUserPoolId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
customDomainConfig
@Stability(Stable) public CfnUserPoolDomainMixinProps.Builder customDomainConfig(IResolvable customDomainConfig) Sets the value ofCfnUserPoolDomainMixinProps.getCustomDomainConfig()- Parameters:
customDomainConfig- The configuration for a custom domain that hosts the sign-up and sign-in pages for your application. Use this object to specify an SSL certificate that is managed by ACM.When you create a custom domain, the passkey RP ID defaults to the custom domain. If you had a prefix domain active, this will cause passkey integration for your prefix domain to stop working due to a mismatch in RP ID. To keep the prefix domain passkey integration working, you can explicitly set RP ID to the prefix domain.
- Returns:
this
-
customDomainConfig
@Stability(Stable) public CfnUserPoolDomainMixinProps.Builder customDomainConfig(CfnUserPoolDomainPropsMixin.CustomDomainConfigTypeProperty customDomainConfig) Sets the value ofCfnUserPoolDomainMixinProps.getCustomDomainConfig()- Parameters:
customDomainConfig- The configuration for a custom domain that hosts the sign-up and sign-in pages for your application. Use this object to specify an SSL certificate that is managed by ACM.When you create a custom domain, the passkey RP ID defaults to the custom domain. If you had a prefix domain active, this will cause passkey integration for your prefix domain to stop working due to a mismatch in RP ID. To keep the prefix domain passkey integration working, you can explicitly set RP ID to the prefix domain.
- Returns:
this
-
domain
Sets the value ofCfnUserPoolDomainMixinProps.getDomain()- Parameters:
domain- The name of the domain that you want to update. For custom domains, this is the fully-qualified domain name, for exampleauth.example.com. For prefix domains, this is the prefix alone, such asmyprefix.- Returns:
this
-
managedLoginVersion
@Stability(Stable) public CfnUserPoolDomainMixinProps.Builder managedLoginVersion(Number managedLoginVersion) Sets the value ofCfnUserPoolDomainMixinProps.getManagedLoginVersion()- Parameters:
managedLoginVersion- A version number that indicates the state of managed login for your domain. Version1is hosted UI (classic). Version2is the newer managed login with the branding editor. For more information, see Managed login .- Returns:
this
-
userPoolId
Sets the value ofCfnUserPoolDomainMixinProps.getUserPoolId()- Parameters:
userPoolId- The ID of the user pool that is associated with the domain you're updating.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnUserPoolDomainMixinProps>- Returns:
- a new instance of
CfnUserPoolDomainMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-