payload

fun payload(block: Payload.Builder.() -> Unit)

construct an aws.sdk.kotlin.services.iotevents.model.Payload inside the given block


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.