Class CfnUserPoolDomainProps
Properties for defining a CfnUserPoolDomain
.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.Cognito
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnUserPoolDomainProps : Object, ICfnUserPoolDomainProps
Syntax (vb)
Public Class CfnUserPoolDomainProps
Inherits Object
Implements ICfnUserPoolDomainProps
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Cognito;
var cfnUserPoolDomainProps = new CfnUserPoolDomainProps {
Domain = "domain",
UserPoolId = "userPoolId",
// the properties below are optional
CustomDomainConfig = new CustomDomainConfigTypeProperty {
CertificateArn = "certificateArn"
}
};
Synopsis
Constructors
CfnUserPoolDomainProps() |
Properties
CustomDomainConfig | The configuration for a custom domain that hosts the sign-up and sign-in pages for your application. |
Domain | The domain name for the domain that hosts the sign-up and sign-in pages for your application. |
UserPoolId | The user pool ID for the user pool where you want to associate a user pool domain. |
Constructors
CfnUserPoolDomainProps()
public CfnUserPoolDomainProps()
Properties
CustomDomainConfig
The configuration for a custom domain that hosts the sign-up and sign-in pages for your application.
public object CustomDomainConfig { get; set; }
Property Value
System.Object
Remarks
Use this object to specify an SSL certificate that is managed by ACM.
Domain
The domain name for the domain that hosts the sign-up and sign-in pages for your application.
public string Domain { get; set; }
Property Value
System.String
Remarks
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.
UserPoolId
The user pool ID for the user pool where you want to associate a user pool domain.
public string UserPoolId { get; set; }
Property Value
System.String