A user pool domain hosts managed login, an authorization server and web server for authentication in your application. This operation updates the branding version for user pool domains between 1
for hosted UI (classic) and 2
for managed login. It also updates the SSL certificate for user pool custom domains.
See https://www.paws-r-sdk.com/docs/cognitoidentityprovider_update_user_pool_domain/ for full documentation.
cognitoidentityprovider_update_user_pool_domain(
Domain,
UserPoolId,
ManagedLoginVersion = NULL,
CustomDomainConfig = NULL
)
[required] The domain name for the custom domain that hosts the sign-up and sign-in
pages for your application. One example might be auth.example.com
.
This string can include only lowercase letters, numbers, and hyphens. Don't use a hyphen for the first or last character. Use periods to separate subdomain names.
[required] The ID of the user pool that is associated with the custom domain whose certificate you're updating.
A version number that indicates the state of managed login for your
domain. Version 1
is hosted UI (classic). Version 2
is the newer
managed login with the branding designer. For more information, see
Managed login.
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. Update the
RP ID in a
set_user_pool_mfa_config
request.