View a markdown version of this page

HarnessHookLambdaTarget - Amazon Bedrock AgentCore Control Plane

HarnessHookLambdaTarget

The configuration for an AWS Lambda hook target.

Contents

arn

The ARN of the Lambda function to invoke.

Type: String

Length Constraints: Minimum length of 20. Maximum length of 2048.

Pattern: arn:aws(-[^:]+)?:lambda:[a-z0-9-]+:[0-9]{12}:function:.+

Required: Yes

failureMode

The behavior when the Lambda function times out, returns an error, or returns an invalid response. The default is DENY.

Type: String

Valid Values: allow | deny

Required: No

timeoutSeconds

The maximum number of seconds to wait for the Lambda function response. The default is 60 seconds.

Type: Integer

Valid Range: Minimum value of 1. Maximum value of 900.

Required: No

See Also

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