Interface CfnUserPoolDomainProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnUserPoolDomainProps.Jsii$Proxy
CfnUserPoolDomain.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.cognito.*;
CfnUserPoolDomainProps cfnUserPoolDomainProps = CfnUserPoolDomainProps.builder()
.domain("domain")
.userPoolId("userPoolId")
// the properties below are optional
.customDomainConfig(CustomDomainConfigTypeProperty.builder()
.certificateArn("certificateArn")
.build())
.managedLoginVersion(123)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnUserPoolDomainPropsstatic final classAn implementation forCfnUserPoolDomainProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectThe configuration for a custom domain that hosts the sign-up and sign-in pages for your application.The domain name for the custom domain that hosts the sign-up and sign-in pages for your application.default NumberA version number that indicates the state of managed login for your domain.The ID of the user pool that is associated with the custom domain whose certificate you're updating.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDomain
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.
- See Also:
-
getUserPoolId
The ID of the user pool that is associated with the custom domain whose certificate you're updating.- See Also:
-
getCustomDomainConfig
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 SetUserPoolMfaConfig request.
- See Also:
-
getManagedLoginVersion
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 designer. For more information, see Managed login .- See Also:
-
builder
- Returns:
- a
CfnUserPoolDomainProps.BuilderofCfnUserPoolDomainProps
-