View a markdown version of this page

HarnessHookLambdaTarget - 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).

HarnessHookLambdaTarget

The configuration for an Amazon 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 Amazon SDKs, see the following: