

# OnEnterLifecycle
<a name="API_OnEnterLifecycle"></a>

When entering this state, perform these `actions` if the `condition` is TRUE.

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

 ** events **   <a name="iotevents-Type-OnEnterLifecycle-events"></a>
Specifies the actions that are performed when the state is entered and the `condition` is `TRUE`.  
Type: Array of [Event](API_Event.md) objects  
Required: No

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