CfnUserPoolDomainMixinProps
- class aws_cdk.mixins_preview.aws_cognito.mixins.CfnUserPoolDomainMixinProps(*, custom_domain_config=None, domain=None, managed_login_version=None, user_pool_id=None)
Bases:
objectProperties for CfnUserPoolDomainPropsMixin.
- Parameters:
custom_domain_config (
Union[IResolvable,CustomDomainConfigTypeProperty,Dict[str,Any],None]) – 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.domain (
Optional[str]) – The name of the domain that you want to update. For custom domains, this is the fully-qualified domain name, for exampleauth.example.com. For prefix domains, this is the prefix alone, such asmyprefix.managed_login_version (
Union[int,float,None]) – A version number that indicates the state of managed login for your domain. Version1is hosted UI (classic). Version2is the newer managed login with the branding editor. For more information, see Managed login .user_pool_id (
Optional[str]) – The ID of the user pool that is associated with the domain you’re updating.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_cognito import mixins as cognito_mixins cfn_user_pool_domain_mixin_props = cognito_mixins.CfnUserPoolDomainMixinProps( custom_domain_config=cognito_mixins.CfnUserPoolDomainPropsMixin.CustomDomainConfigTypeProperty( certificate_arn="certificateArn" ), domain="domain", managed_login_version=123, user_pool_id="userPoolId" )
Attributes
- custom_domain_config
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.
- 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.
- managed_login_version
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 .
- user_pool_id
The ID of the user pool that is associated with the domain you’re updating.