BuildLifecycleHooks¶
Structure Class¶
BuildLifecycleHooks
dataclass
¶
Bases: _SerdeShape
The lifecycle hooks that run when you create or update the AgentCore Runtime, before any sessions are created.
Attributes¶
warmup
class-attribute
instance-attribute
¶
warmup: LifecycleHook | None = ...
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.