Class CfnUserPoolDomain.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnUserPoolDomain>
- Enclosing class:
CfnUserPoolDomain
CfnUserPoolDomain.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static CfnUserPoolDomain.BuildercustomDomainConfig(IResolvable customDomainConfig) The configuration for a custom domain that hosts the sign-up and sign-in pages for your application.customDomainConfig(CfnUserPoolDomain.CustomDomainConfigTypeProperty customDomainConfig) The configuration for a custom domain that hosts the sign-up and sign-in pages for your application.The name of the domain that you want to update.managedLoginVersion(Number managedLoginVersion) A version number that indicates the state of managed login for your domain.userPoolId(String userPoolId) The ID of the user pool that is associated with the domain you're updating.
-
Method Details
-
create
@Stability(Stable) public static CfnUserPoolDomain.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnUserPoolDomain.Builder.
-
domain
The name of the domain that you want to update.For custom domains, this is the fully-qualified domain name, for example
auth.example.com. For prefix domains, this is the prefix alone, such asmyprefix.- Parameters:
domain- The name of the domain that you want to update. This parameter is required.- Returns:
this- See Also:
-
userPoolId
The ID of the user pool that is associated with the domain you're updating.- Parameters:
userPoolId- The ID of the user pool that is associated with the domain you're updating. This parameter is required.- Returns:
this- See Also:
-
customDomainConfig
@Stability(Stable) public CfnUserPoolDomain.Builder customDomainConfig(IResolvable 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.
- Parameters:
customDomainConfig- The configuration for a custom domain that hosts the sign-up and sign-in pages for your application. This parameter is required.- Returns:
this- See Also:
-
customDomainConfig
@Stability(Stable) public CfnUserPoolDomain.Builder customDomainConfig(CfnUserPoolDomain.CustomDomainConfigTypeProperty 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.
- Parameters:
customDomainConfig- The configuration for a custom domain that hosts the sign-up and sign-in pages for your application. This parameter is required.- Returns:
this- See Also:
-
managedLoginVersion
A version number that indicates the state of managed login for your domain.Version
1is hosted UI (classic). Version2is the newer managed login with the branding editor. For more information, see Managed login .- Parameters:
managedLoginVersion- A version number that indicates the state of managed login for your domain. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnUserPoolDomain>- Returns:
- a newly built instance of
CfnUserPoolDomain.
-