{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-iot-events/refs/heads/main/json-schema/iot-events-payload-schema.json", "title": "Payload", "description": "
Information needed to configure the payload.
By default, AWS IoT Events generates a standard payload in JSON for any action. This action payload contains all attribute-value pairs that have the information about the detector model instance and the event triggered the action. To configure the action payload, you can use contentExpression.
'<string>'), variables ($variable.<variable-name>), input values ($input.<input-name>.<path-to-datum>), string concatenations, and quoted strings that contain ${} as the content. The recommended maximum size of a content expression is 1 KB."
}
]
},
"type": {
"allOf": [
{
"$ref": "#/components/schemas/PayloadType"
},
{
"description": "The value of the payload type can be either STRING or JSON."
}
]
}
},
"required": [
"contentExpression",
"type"
]
}