The AWS::IoTEvents::Input resource creates an input. To monitor your devices and processes, they must have a way to get telemetry data into AWS IoT Events. This is done by sending messages as inputs to AWS IoT Events. For more information, see How to Use AWS IoT Events in the AWS IoT Events Developer Guide.
input_definition
(Attributes) The definition of the input. (see below for nested schema)input_description
(String) A brief description of the input.input_name
(String) The name of the input.tags
(Attributes List) An array of key-value pairs to apply to this resource.For more information, see Tag. (see below for nested schema)
id
(String) Uniquely identifies the resource.input_definition
Required:
attributes
(Attributes Set) The attributes from the JSON payload that are made available by the input. Inputs are derived from messages sent to the AWS IoT Events system using BatchPutMessage
. Each such message contains a JSON payload, and those attributes (and their paired values) specified here are available for use in the condition
expressions used by detectors that monitor this input. (see below for nested schema)input_definition.attributes
Required:
json_path
(String) An expression that specifies an attribute-value pair in a JSON structure. Use this to specify an attribute from the JSON payload that is made available by the input. Inputs are derived from messages sent to AWS IoT Events (BatchPutMessage
). Each such message contains a JSON payload. The attribute (and its paired value) specified here are available for use in the condition
expressions used by detectors._Syntax_: <field-name>.<field-name>...
tags
Required:
key
(String) Key of the Tag.value
(String) Value of the Tag.Import is supported using the following syntax:
$ terraform import awscc_iotevents_input.example <resource ID>