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.
Type: objectProperties: 3
AutomationDevOpsIncident Management
Condition is a JSON Structure definition published by Amazon Incident Manager, describing 3 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.
{
"$schema": "https://json-structure.org/meta/core/v0/#",
"$id": "https://raw.githubusercontent.com/api-evangelist/amazon-incident-manager/refs/heads/main/json-structure/incident-manager-condition-structure.json",
"name": "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. "
}
]
}
}
}
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.