Specifies the actions to be performed when the condition evaluates to TRUE.
Type: objectProperties: 3Required: 1
Event DetectionIoTState MachineAutomation
Event is a JSON Structure definition published by Amazon IoT Events, describing 3 properties, of which 1 is required. 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-iot-events/refs/heads/main/json-structure/iot-events-event-structure.json",
"name": "Event",
"description": "Specifies the <code>actions</code> to be performed when the <code>condition</code> evaluates to TRUE.",
"type": "object",
"properties": {
"eventName": {
"allOf": [
{
"$ref": "#/components/schemas/EventName"
},
{
"description": "The name of the event."
}
]
},
"condition": {
"allOf": [
{
"$ref": "#/components/schemas/Condition"
},
{
"description": "Optional. The Boolean expression that, when TRUE, causes the <code>actions</code> to be performed. If not present, the actions are performed (=TRUE). If the expression result is not a Boolean value, the actions are not performed (=FALSE)."
}
]
},
"actions": {
"allOf": [
{
"$ref": "#/components/schemas/Actions"
},
{
"description": "The actions to be performed."
}
]
}
},
"required": [
"eventName"
]
}
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.