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 name of the domain that you want to update.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 domain you're updating.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDomain
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.- See Also:
-
getUserPoolId
The ID of the user pool that is associated with the domain 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.
Returns union: either
IResolvableorCfnUserPoolDomain.CustomDomainConfigTypeProperty- 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 editor. For more information, see Managed login .- See Also:
-
builder
- Returns:
- a
CfnUserPoolDomainProps.BuilderofCfnUserPoolDomainProps
-