{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-directoryservice-simplead.json",
  "title": "AWSDirectoryServiceSimpleADProperties",
  "description": "Resource Type definition for AWS::DirectoryService::SimpleAD. Source:- No source definition found, add manually please",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/lalcebo/json-schema/master/serverless/resources/cloudformation-modified/aws-directoryservice-simplead.json",
    "sourceSha256": "fc4c41d6692778148f3bfe507c6483d868d6ee484ae992fe45f16482a17370dd"
  },
  "type": "object",
  "properties": {
    "CreateAlias": {
      "description": "The name of the configuration set.",
      "type": "boolean"
    },
    "Description": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "Description for the directory."
    },
    "EnableSso": {
      "description": "Whether to enable single sign-on for a Simple Active Directory in AWS.",
      "type": "boolean"
    },
    "Name": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The fully qualified domain name for the AWS Managed Simple AD directory."
    },
    "Password": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The password for the default administrative user named Admin."
    },
    "ShortName": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The NetBIOS name for your domain."
    },
    "Size": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The size of the directory."
    },
    "VpcSettings": {
      "description": "VPC settings of the Simple AD directory server in AWS.",
      "$ref": "#/$defs/VpcSettings"
    }
  },
  "typeName": "AWS::DirectoryService::SimpleAD",
  "primaryIdentifier": [
    "/properties/DirectoryId"
  ],
  "documentationUrl": "https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-directoryservice-simplead.html",
  "$defs": {
    "VpcSettings": {
      "$comment": "Contains VPC information",
      "type": "object",
      "title": "AWSDirectoryServiceSimpleADVpcSettingsDefinition",
      "properties": {
        "SubnetIds": {
          "description": "The identifiers of the subnets for the directory servers. The two subnets must be in different Availability Zones. AWS Directory Service specifies a directory server and a DNS server in each of these subnets.",
          "type": "array",
          "uniqueItems": true,
          "insertionOrder": false,
          "items": {
            "type": "string"
          }
        },
        "VpcId": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "The identifier of the VPC in which to create the directory."
        }
      },
      "required": [
        "VpcId",
        "SubnetIds"
      ],
      "additionalProperties": false
    }
  },
  "additionalProperties": false,
  "writeOnlyProperties": [
    "/properties/Password"
  ],
  "required": [
    "VpcSettings",
    "Size",
    "Name"
  ],
  "tagging": {
    "taggable": false,
    "tagOnCreate": false,
    "tagUpdatable": false,
    "cloudFormationSystemTags": false
  },
  "readOnlyProperties": [
    "/properties/Alias",
    "/properties/DnsIpAddresses",
    "/properties/DirectoryId"
  ],
  "createOnlyProperties": [
    "/properties/Size",
    "/properties/VpcSettings",
    "/properties/Name",
    "/properties/Password",
    "/properties/ShortName",
    "/properties/Description",
    "/properties/CreateAlias"
  ]
}
