

# Event
<a name="API_Event"></a>

Specifies the `actions` to be performed when the `condition` evaluates to TRUE.

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

 ** eventName **   <a name="iotevents-Type-Event-eventName"></a>
The name of the event.  
Type: String  
Length Constraints: Maximum length of 128.  
Required: Yes

 ** actions **   <a name="iotevents-Type-Event-actions"></a>
The actions to be performed.  
Type: Array of [Action](API_Action.md) objects  
Required: No

 ** condition **   <a name="iotevents-Type-Event-condition"></a>
Optional. The Boolean expression that, when TRUE, causes the `actions` to be performed. If not present, the actions are performed (=TRUE). If the expression result is not a Boolean value, the actions are not performed (=FALSE).  
Type: String  
Length Constraints: Maximum length of 512.  
Required: No

## See Also
<a name="API_Event_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/Event) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/iotevents-2018-07-27/Event) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/iotevents-2018-07-27/Event) 