Interface CfnDetectorModel.PayloadProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnDetectorModel.PayloadProperty.Jsii$Proxy
Enclosing class:
CfnDetectorModel

@Stability(Stable) public static interface CfnDetectorModel.PayloadProperty extends software.amazon.jsii.JsiiSerializable
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 .

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.iotevents.*;
 PayloadProperty payloadProperty = PayloadProperty.builder()
         .contentExpression("contentExpression")
         .type("type")
         .build();
 

See Also: