This is the new AWS CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.
AWS::IoTEvents::DetectorModel Payload
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.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "ContentExpression" :String, "Type" :String}
YAML
ContentExpression:StringType:String
Properties
ContentExpression-
The content of the payload. You can use a string expression that includes quoted strings (
'<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.Required: Yes
Type: String
Minimum:
1Update requires: No interruption
Type-
The value of the payload type can be either
STRINGorJSON.Required: Yes
Type: String
Allowed values:
STRING | JSONUpdate requires: No interruption