{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-iot-device-management/json-schema/amazon-iot-device-management-audit-notification-target-schema.json",
  "title": "AuditNotificationTarget",
  "description": "Information about the targets to which audit notifications are sent.",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-iot-device-management-audit-api-openapi.yml#/components/schemas/AuditNotificationTarget",
  "type": "object",
  "properties": {
    "targetArn": {
      "allOf": [
        {
          "$ref": "#/$defs/TargetArn"
        },
        {
          "description": "The ARN of the target (SNS topic) to which audit notifications are sent."
        }
      ]
    },
    "roleArn": {
      "allOf": [
        {
          "$ref": "#/$defs/RoleArn"
        },
        {
          "description": "The ARN of the role that grants permission to send notifications to the target."
        }
      ]
    },
    "enabled": {
      "allOf": [
        {
          "$ref": "#/$defs/Enabled"
        },
        {
          "description": "True if notifications to the target are enabled."
        }
      ]
    }
  },
  "$defs": {
    "Enabled": {
      "type": "boolean"
    },
    "RoleArn": {
      "type": "string",
      "minLength": 20,
      "maxLength": 2048
    },
    "TargetArn": {
      "type": "string",
      "maxLength": 2048
    }
  }
}