# HarnessAfterToolCallHookProperty

A hook that runs after each tool call.

- Source: Generated code
- Type last changed: v2.273.0 · 8 Oct 2026

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_bedrockagentcore as bedrockagentcore } from 'aws-cdk-lib';
const harnessAfterToolCallHookProperty: bedrockagentcore.CfnHarness.HarnessAfterToolCallHookProperty = {
  name: 'name',
  target: {
    eventBridge: {
      arn: 'arn',
    },
    lambda: {
      arn: 'arn',

      // the properties below are optional
      failureMode: 'failureMode',
      timeoutSeconds: 123,
    },
    sns: {
      arn: 'arn',
    },
  },
};
```

## Properties

- `name`: string (required) — The unique name of the hook.

- `target`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnHarness.HarnessHookTargetProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_bedrockagentcore.CfnHarness.HarnessHookTargetProperty.html) (required) — The destination that receives lifecycle hook events.
