View a markdown version of this page

HarnessBeforeInvocationHook - Amazon Bedrock AgentCore Control Plane

HarnessBeforeInvocationHook

The configuration for a hook that runs before an invocation begins.

Contents

name

The name of the hook.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 64.

Pattern: [a-zA-Z0-9_-]+

Required: Yes

target

The target that receives the hook event.

Type: HarnessHookTarget object

Note: This object is a Union. Only one member of this object can be specified or returned.

Required: Yes

See Also

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