

# InputDefinition
<a name="API_InputDefinition"></a>

The definition of the input.

## Contents
<a name="API_InputDefinition_Contents"></a>

 ** attributes **   <a name="iotevents-Type-InputDefinition-attributes"></a>
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.   
Type: Array of [Attribute](API_Attribute.md) objects  
Array Members: Minimum number of 1 item. Maximum number of 200 items.  
Required: Yes

## See Also
<a name="API_InputDefinition_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/iotevents-2018-07-27/InputDefinition) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/iotevents-2018-07-27/InputDefinition) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/iotevents-2018-07-27/InputDefinition) 