View a markdown version of this page

HarnessHookTarget - Amazon Bedrock AgentCore Control Plane
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

HarnessHookTarget

The target that receives lifecycle hook events. Specify one target type.

Contents

Important

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

eventBridge

An Amazon EventBridge hook target that sends the hook event without waiting for a response.

Type: HarnessHookEventBridgeTarget object

Required: No

lambda

A Lambda hook target that invokes an Amazon Lambda function synchronously and waits for its response.

Type: HarnessHookLambdaTarget object

Required: No

sns

An Amazon SNS hook target that publishes the hook event without waiting for a response.

Type: HarnessHookSnsTarget object

Required: No

See Also

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