Skip to content

LifecycleHook

Structure Class

LifecycleHook dataclass

Bases: _SerdeShape

A lifecycle hook, which defines the action that AgentCore Runtime runs at a point in the runtime's lifecycle.

Attributes

action instance-attribute

The action that AgentCore Runtime runs for the hook. Specify exactly one action.