interface HarnessBeforeToolCallHookProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.BedrockAgentCore.CfnHarnessPropsMixin.HarnessBeforeToolCallHookProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsbedrockagentcore#CfnHarnessPropsMixin_HarnessBeforeToolCallHookProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.bedrockagentcore.CfnHarnessPropsMixin.HarnessBeforeToolCallHookProperty |
Python | aws_cdk.cfn_property_mixins.aws_bedrockagentcore.CfnHarnessPropsMixin.HarnessBeforeToolCallHookProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_bedrockagentcore » CfnHarnessPropsMixin » HarnessBeforeToolCallHookProperty |
A hook that runs before each tool call.
Example
// 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/cfn-property-mixins';
const harnessBeforeToolCallHookProperty: bedrockagentcore.CfnHarnessPropsMixin.HarnessBeforeToolCallHookProperty = {
name: 'name',
target: {
eventBridge: {
arn: 'arn',
},
lambda: {
arn: 'arn',
failureMode: 'failureMode',
timeoutSeconds: 123,
},
sns: {
arn: 'arn',
},
},
};
Properties
| Name | Type | Description |
|---|---|---|
| name? | string | The unique name of the hook. |
| target? | IResolvable | Harness | The destination that receives lifecycle hook events. |
name?
Type:
string
(optional)
The unique name of the hook.
target?
Type:
IResolvable | Harness
(optional)
The destination that receives lifecycle hook events.

.NET
Go
Java
Python
TypeScript