Interface CfnUserPoolDomainProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnUserPoolDomainProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:43.947Z") @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())
         .build();
 
  • Method Details

    • getDomain

      @Stability(Stable) @NotNull String getDomain()
      The domain name for the domain that hosts the sign-up and sign-in pages for your application.

      For example: auth.example.com . If you're using a prefix domain, this field denotes the first part of the domain before .auth.[region].amazoncognito.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.

    • getUserPoolId

      @Stability(Stable) @NotNull String getUserPoolId()
      The user pool ID for the user pool where you want to associate a user pool domain.
    • getCustomDomainConfig

      @Stability(Stable) @Nullable default Object 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.

    • builder

      @Stability(Stable) static CfnUserPoolDomainProps.Builder builder()
      Returns:
      a CfnUserPoolDomainProps.Builder of CfnUserPoolDomainProps