Interface CfnUserPoolDomainProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnUserPoolDomainProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.109.0 (build c221850)",
date="2025-03-19T18:01:32.560Z")
@Stability(Stable)
public interface CfnUserPoolDomainProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
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 class
A builder forCfnUserPoolDomainProps
static final class
An implementation forCfnUserPoolDomainProps
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default Object
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.default Number
A 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.
- See Also:
-
getManagedLoginVersion
A version number that indicates the state of managed login for your domain.Version
1
is hosted UI (classic). Version2
is the newer managed login with the branding designer. For more information, see Managed login .- See Also:
-
builder
- Returns:
- a
CfnUserPoolDomainProps.Builder
ofCfnUserPoolDomainProps
-