

# BuildLifecycleHooks
<a name="API_BuildLifecycleHooks"></a>

The lifecycle hooks that run when you create or update the AgentCore Runtime, before any sessions are created.

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

 ** warmup **   <a name="bedrockagentcorecontrol-Type-BuildLifecycleHooks-warmup"></a>
The hook that warms up your agent before any sessions are created. Use this hook to load the resources that your sessions need, such as models, libraries, or caches. Your hook must complete within 120 seconds.  
Type: [LifecycleHook](API_LifecycleHook.md) object  
Required: No

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

For more information about using this API in one of the language-specific Amazon SDKs, see the following:
+  [Amazon SDK for C\+\+](https://docs.amazonaws.cn/goto/SdkForCpp/bedrock-agentcore-control-2023-06-05/BuildLifecycleHooks) 
+  [Amazon SDK for Java V2](https://docs.amazonaws.cn/goto/SdkForJavaV2/bedrock-agentcore-control-2023-06-05/BuildLifecycleHooks) 
+  [Amazon SDK for Ruby V3](https://docs.amazonaws.cn/goto/SdkForRubyV3/bedrock-agentcore-control-2023-06-05/BuildLifecycleHooks) 