View a markdown version of this page

HarnessHookTarget - Amazon Bedrock AgentCore Control Plane

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 AWS 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 AWS SDKs, see the following: