{
 "additionalProperties": false,
 "createOnlyProperties": [
  "/properties/VpcSettings",
  "/properties/Edition",
  "/properties/Name",
  "/properties/Password",
  "/properties/ShortName",
  "/properties/CreateAlias"
 ],
 "definitions": {
  "VpcSettings": {
   "additionalProperties": false,
   "properties": {
    "SubnetIds": {
     "items": {
      "type": "string"
     },
     "type": "array",
     "uniqueItems": true
    },
    "VpcId": {
     "format": "AWS::EC2::VPC.Id",
     "type": "string"
    }
   },
   "required": [
    "VpcId",
    "SubnetIds"
   ],
   "type": "object"
  }
 },
 "primaryIdentifier": [
  "/properties/Id"
 ],
 "properties": {
  "Alias": {
   "type": "string"
  },
  "CreateAlias": {
   "type": "boolean"
  },
  "DnsIpAddresses": {
   "items": {
    "type": "string"
   },
   "type": "array",
   "uniqueItems": false
  },
  "Edition": {
   "type": "string"
  },
  "EnableSso": {
   "type": "boolean"
  },
  "Id": {
   "type": "string"
  },
  "Name": {
   "type": "string"
  },
  "Password": {
   "type": "string"
  },
  "ShortName": {
   "type": "string"
  },
  "VpcSettings": {
   "$ref": "#/definitions/VpcSettings"
  }
 },
 "readOnlyProperties": [
  "/properties/Alias",
  "/properties/DnsIpAddresses",
  "/properties/Id"
 ],
 "required": [
  "VpcSettings",
  "Name",
  "Password"
 ],
 "typeName": "AWS::DirectoryService::MicrosoftAD"
}
