{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--datadog-iam-user.json",
  "title": "DatadogIAMUserProperties",
  "description": "Datadog Application User 1.2.0. Source:- No source definition found, add manually please",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/lalcebo/json-schema/master/serverless/resources/cloudformation-modified/datadog-iam-user.json",
    "sourceSha256": "d3cd13a9a472a38eaf8bb4863b983877f7204ce2a54005e1e6469382a178cbe3"
  },
  "type": "object",
  "properties": {
    "DatadogCredentials": {
      "description": "Credentials for the Datadog API",
      "properties": {
        "ApiKey": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "Datadog API key"
        },
        "ApplicationKey": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "Datadog application key"
        },
        "ApiURL": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "Datadog API URL (defaults to <https://api.datadoghq.com)>"
        }
      },
      "required": [
        "ApiKey",
        "ApplicationKey"
      ],
      "type": "object"
    },
    "AccessRole": {
      "oneOf": [
        {
          "enum": [
            "adm",
            "ro",
            "st"
          ],
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The role of the user"
    },
    "Email": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "User email"
    },
    "Handle": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "User handle (a valid email)"
    },
    "Name": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "User name"
    }
  },
  "typeName": "Datadog::IAM::User",
  "additionalProperties": false,
  "required": [
    "DatadogCredentials",
    "Handle"
  ],
  "createOnlyProperties": [
    "/properties/Handle"
  ],
  "primaryIdentifier": [
    "/properties/Handle"
  ],
  "readOnlyProperties": [
    "/properties/Disabled",
    "/properties/Verified"
  ]
}
