{
"$schema": "https://json-structure.org/meta/core/v0/#",
"$id": "https://raw.githubusercontent.com/api-evangelist/amazon-codepipeline/refs/heads/main/json-structure/amazon-codepipeline-webhook-auth-configuration-structure.json",
"name": "WebhookAuthConfiguration",
"description": "The authentication applied to incoming webhook trigger requests.",
"type": "object",
"properties": {
"AllowedIPRange": {
"allOf": [
{
"$ref": "#/components/schemas/WebhookAuthConfigurationAllowedIPRange"
},
{
"description": "The property used to configure acceptance of webhooks in an IP address range. For IP, only the AllowedIPRange property must be set. This property must be set to a valid CIDR range."
}
]
},
"SecretToken": {
"allOf": [
{
"$ref": "#/components/schemas/WebhookAuthConfigurationSecretToken"
},
{
"description": "The property used to configure GitHub authentication. For GITHUB_HMAC, only the SecretToken property must be set."
}
]
}
}
}