{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-appstream-directoryconfig.json",
  "title": "AWSAppStreamDirectoryConfigProperties",
  "description": "Resource Type definition for AWS::AppStream::DirectoryConfig. Source:- No source definition found, add manually please",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/lalcebo/json-schema/master/serverless/resources/cloudformation-modified/aws-appstream-directoryconfig.json",
    "sourceSha256": "4f82c2fdb283f3308a232ae236bff337f5bd79634ded5f4c9da266e387ec7466"
  },
  "type": "object",
  "properties": {
    "OrganizationalUnitDistinguishedNames": {
      "type": "array",
      "uniqueItems": false,
      "items": {
        "type": "string"
      }
    },
    "ServiceAccountCredentials": {
      "$ref": "#/$defs/ServiceAccountCredentials"
    },
    "DirectoryName": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "CertificateBasedAuthProperties": {
      "$ref": "#/$defs/CertificateBasedAuthProperties"
    }
  },
  "typeName": "AWS::AppStream::DirectoryConfig",
  "taggable": false,
  "$defs": {
    "ServiceAccountCredentials": {
      "type": "object",
      "title": "AWSAppStreamDirectoryConfigServiceAccountCredentialsDefinition",
      "properties": {
        "AccountName": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "AccountPassword": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "required": [
        "AccountName",
        "AccountPassword"
      ],
      "additionalProperties": false
    },
    "CertificateBasedAuthProperties": {
      "type": "object",
      "title": "AWSAppStreamDirectoryConfigCertificateBasedAuthPropertiesDefinition",
      "properties": {
        "Status": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "CertificateAuthorityArn": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "additionalProperties": false
    }
  },
  "primaryIdentifier": [
    "/properties/DirectoryName"
  ],
  "additionalProperties": false,
  "required": [
    "DirectoryName",
    "OrganizationalUnitDistinguishedNames",
    "ServiceAccountCredentials"
  ],
  "writeOnlyProperties": [
    "/properties/ServiceAccountCredentials/AccountPassword"
  ],
  "createOnlyProperties": [
    "/properties/DirectoryName"
  ]
}
