{
 "additionalProperties": false,
 "createOnlyProperties": [
  "/properties/UserPoolId",
  "/properties/Domain"
 ],
 "definitions": {
  "CustomDomainConfigType": {
   "additionalProperties": false,
   "properties": {
    "CertificateArn": {
     "type": "string"
    }
   },
   "type": "object"
  }
 },
 "primaryIdentifier": [
  "/properties/UserPoolId",
  "/properties/Domain"
 ],
 "properties": {
  "CloudFrontDistribution": {
   "type": "string"
  },
  "CustomDomainConfig": {
   "$ref": "#/definitions/CustomDomainConfigType"
  },
  "Domain": {
   "type": "string"
  },
  "ManagedLoginVersion": {
   "type": "integer"
  },
  "UserPoolId": {
   "type": "string"
  }
 },
 "readOnlyProperties": [
  "/properties/CloudFrontDistribution"
 ],
 "required": [
  "UserPoolId",
  "Domain"
 ],
 "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git",
 "tagging": {
  "cloudFormationSystemTags": false,
  "tagOnCreate": false,
  "tagUpdatable": false,
  "taggable": false
 },
 "typeName": "AWS::Cognito::UserPoolDomain",
 "writeOnlyProperties": [
  "/properties/ManagedLoginVersion"
 ]
}
