Amazon Cognito · Schema
CreateUserPoolDomainRequest
CreateUserPoolDomainRequest schema from Amazon Cognito API
AuthenticationIdentityOAuthOIDCSAMLUser ManagementFederated Identity
Properties
| Name | Type | Description |
|---|---|---|
| Domain | object | |
| UserPoolId | object | |
| CustomDomainConfig | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/amazon-cognito/refs/heads/main/json-schema/user-pools-create-user-pool-domain-request-schema.json",
"title": "CreateUserPoolDomainRequest",
"description": "CreateUserPoolDomainRequest schema from Amazon Cognito API",
"type": "object",
"properties": {
"Domain": {
"allOf": [
{
"$ref": "#/components/schemas/DomainType"
},
{
"description": "The domain string. For custom domains, this is the fully-qualified domain name, such as <code>auth.example.com</code>. For Amazon Cognito prefix domains, this is the prefix alone, such as <code>auth</code>."
}
]
},
"UserPoolId": {
"allOf": [
{
"$ref": "#/components/schemas/UserPoolIdType"
},
{
"description": "The user pool ID."
}
]
},
"CustomDomainConfig": {
"allOf": [
{
"$ref": "#/components/schemas/CustomDomainConfigType"
},
{
"description": "<p>The configuration for a custom domain that hosts the sign-up and sign-in webpages for your application.</p> <p>Provide this parameter only if you want to use a custom domain for your user pool. Otherwise, you can exclude this parameter and use the Amazon Cognito hosted domain instead.</p> <p>For more information about the hosted domain and custom domains, see <a href=\"https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-assign-domain.html\">Configuring a User Pool Domain</a>.</p>"
}
]
}
},
"required": [
"Domain",
"UserPoolId"
]
}