View a markdown version of this page

LifecycleHookAction - Amazon Bedrock AgentCore Control Plane

LifecycleHookAction

The action that a lifecycle hook runs. Specify exactly one member. Currently, httpPost is the only supported action.

Contents

Important

This data type is a UNION, so only one of the following members can be specified when used or returned.

httpPost

Sends an HTTP POST request to your agent's container on the specified port and path to run the hook. The hook succeeds if your container returns a 2xx response. The hook fails if your container returns any other response or doesn't respond before the hook times out.

Type: HttpPostLifecycleHookAction object

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: