Argo Workflows · JSON Structure

Argo Workflows Github Com Argoproj Argo Events Pkg Apis Events V1Alpha1 Trigger Template Structure

TriggerTemplate is the template that describes trigger specification.

Type: object Properties: 17
CNCFContainersData ProcessingKubernetesMachine LearningOpen SourceWorkflow Engine

github.com.argoproj.argo_events.pkg.apis.events.v1alpha1.TriggerTemplate is a JSON Structure definition published by Argo Workflows, describing 17 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

argoWorkflow awsLambda azureEventHubs azureServiceBus conditions conditionsReset custom email http k8s kafka log name nats openWhisk pulsar slack

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/argo-workflows/refs/heads/main/json-structure/argo-workflows-github-com-argoproj-argo-events-pkg-apis-events-v1alpha1-trigger-template-structure.json",
  "name": "github.com.argoproj.argo_events.pkg.apis.events.v1alpha1.TriggerTemplate",
  "description": "TriggerTemplate is the template that describes trigger specification.",
  "type": "object",
  "properties": {
    "argoWorkflow": {
      "name": "ArgoWorkflow refers to the trigger that can perform various operations on an Argo io.argoproj.workflow.v1alpha1.\n+optional",
      "$ref": "#/definitions/github.com.argoproj.argo_events.pkg.apis.events.v1alpha1.ArgoWorkflowTrigger"
    },
    "awsLambda": {
      "name": "AWSLambda refers to the trigger designed to invoke AWS Lambda function with with on-the-fly constructable payload.\n+optional",
      "$ref": "#/definitions/github.com.argoproj.argo_events.pkg.apis.events.v1alpha1.AWSLambdaTrigger"
    },
    "azureEventHubs": {
      "name": "AzureEventHubs refers to the trigger send an event to an Azure Event Hub.\n+optional",
      "$ref": "#/definitions/github.com.argoproj.argo_events.pkg.apis.events.v1alpha1.AzureEventHubsTrigger"
    },
    "azureServiceBus": {
      "name": "AzureServiceBus refers to the trigger designed to place messages on Azure Service Bus\n+optional",
      "$ref": "#/definitions/github.com.argoproj.argo_events.pkg.apis.events.v1alpha1.AzureServiceBusTrigger"
    },
    "conditions": {
      "type": "string",
      "name": "Conditions is the conditions to execute the trigger.\nFor example: \"(dep01 || dep02) && dep04\"\n+optional"
    },
    "conditionsReset": {
      "type": "array",
      "name": "Criteria to reset the conditons\n+optional",
      "items": {
        "$ref": "#/definitions/github.com.argoproj.argo_events.pkg.apis.events.v1alpha1.ConditionsResetCriteria"
      }
    },
    "custom": {
      "name": "CustomTrigger refers to the trigger designed to connect to a gRPC trigger server and execute a custom trigger.\n+optional",
      "$ref": "#/definitions/github.com.argoproj.argo_events.pkg.apis.events.v1alpha1.CustomTrigger"
    },
    "email": {
      "name": "Email refers to the trigger designed to send an email notification\n+optional",
      "$ref": "#/definitions/github.com.argoproj.argo_events.pkg.apis.events.v1alpha1.EmailTrigger"
    },
    "http": {
      "name": "HTTP refers to the trigger designed to dispatch a HTTP request with on-the-fly constructable payload.\n+optional",
      "$ref": "#/definitions/github.com.argoproj.argo_events.pkg.apis.events.v1alpha1.HTTPTrigger"
    },
    "k8s": {
      "name": "StandardK8STrigger refers to the trigger designed to create or update a generic Kubernetes resource.\n+optional",
      "$ref": "#/definitions/github.com.argoproj.argo_events.pkg.apis.events.v1alpha1.StandardK8STrigger"
    },
    "kafka": {
      "description": "Kafka refers to the trigger designed to place messages on Kafka topic.\n+optional.",
      "$ref": "#/definitions/github.com.argoproj.argo_events.pkg.apis.events.v1alpha1.KafkaTrigger"
    },
    "log": {
      "name": "Log refers to the trigger designed to invoke log the io.argoproj.workflow.v1alpha1.\n+optional",
      "$ref": "#/definitions/github.com.argoproj.argo_events.pkg.apis.events.v1alpha1.LogTrigger"
    },
    "name": {
      "description": "Name is a unique name of the action to take.",
      "type": "string"
    },
    "nats": {
      "description": "NATS refers to the trigger designed to place message on NATS subject.\n+optional.",
      "$ref": "#/definitions/github.com.argoproj.argo_events.pkg.apis.events.v1alpha1.NATSTrigger"
    },
    "openWhisk": {
      "name": "OpenWhisk refers to the trigger designed to invoke OpenWhisk action.\n+optional",
      "$ref": "#/definitions/github.com.argoproj.argo_events.pkg.apis.events.v1alpha1.OpenWhiskTrigger"
    },
    "pulsar": {
      "name": "Pulsar refers to the trigger designed to place messages on Pulsar topic.\n+optional",
      "$ref": "#/definitions/github.com.argoproj.argo_events.pkg.apis.events.v1alpha1.PulsarTrigger"
    },
    "slack": {
      "name": "Slack refers to the trigger designed to send slack notification message.\n+optional",
      "$ref": "#/definitions/github.com.argoproj.argo_events.pkg.apis.events.v1alpha1.SlackTrigger"
    }
  }
}