{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-codepipeline-webhook.json",
  "title": "AWSCodePipelineWebhookProperties",
  "description": "Resource Type definition for AWS::CodePipeline::Webhook. Source:- No source definition found, add manually please",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/lalcebo/json-schema/master/serverless/resources/cloudformation-modified/aws-codepipeline-webhook.json",
    "sourceSha256": "70bb96576b983033296dacfda9231f622c23237b7a769f732b7b1ccdfe80a279"
  },
  "type": "object",
  "properties": {
    "AuthenticationConfiguration": {
      "$ref": "#/$defs/WebhookAuthConfiguration"
    },
    "Filters": {
      "type": "array",
      "uniqueItems": false,
      "items": {
        "$ref": "#/$defs/WebhookFilterRule"
      }
    },
    "Authentication": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "TargetPipeline": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "TargetAction": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "Name": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "TargetPipelineVersion": {
      "type": "integer"
    },
    "RegisterWithThirdParty": {
      "type": "boolean"
    }
  },
  "typeName": "AWS::CodePipeline::Webhook",
  "readOnlyProperties": [
    "/properties/Id",
    "/properties/Url"
  ],
  "$defs": {
    "WebhookFilterRule": {
      "type": "object",
      "title": "AWSCodePipelineWebhookWebhookFilterRuleDefinition",
      "properties": {
        "JsonPath": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "MatchEquals": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "required": [
        "JsonPath"
      ],
      "additionalProperties": false
    },
    "WebhookAuthConfiguration": {
      "type": "object",
      "title": "AWSCodePipelineWebhookWebhookAuthConfigurationDefinition",
      "properties": {
        "AllowedIPRange": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "SecretToken": {
          "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/Id"
  ],
  "additionalProperties": false,
  "required": [
    "AuthenticationConfiguration",
    "Filters",
    "Authentication",
    "TargetPipeline",
    "TargetAction",
    "TargetPipelineVersion"
  ],
  "createOnlyProperties": [
    "/properties/Name"
  ]
}
