Condition

A conditional statement with which to compare a value, after a timestamp, before a timestamp, or equal to a string or integer. If multiple conditions are specified, the conditionals become an ANDed statement. If multiple values are specified for a conditional, the values are ORd.

AutomationDevOpsIncident ManagementOperations

Properties

Name Type Description
after object
before object
equals object
View JSON Schema on GitHub

JSON Schema

incident-manager-condition-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-incident-manager/refs/heads/main/json-schema/incident-manager-condition-schema.json",
  "title": "Condition",
  "description": "A conditional statement with which to compare a value, after a timestamp, before a timestamp, or equal to a string or integer. If multiple conditions are specified, the conditionals become an <code>AND</code>ed statement. If multiple values are specified for a conditional, the values are <code>OR</code>d.",
  "type": "object",
  "properties": {
    "after": {
      "allOf": [
        {
          "$ref": "#/components/schemas/Timestamp"
        },
        {
          "description": "After the specified timestamp."
        }
      ]
    },
    "before": {
      "allOf": [
        {
          "$ref": "#/components/schemas/Timestamp"
        },
        {
          "description": "Before the specified timestamp"
        }
      ]
    },
    "equals": {
      "allOf": [
        {
          "$ref": "#/components/schemas/AttributeValueList"
        },
        {
          "description": "The value is equal to the provided string or integer. "
        }
      ]
    }
  }
}