Bedrock AgentCore Control Structures HarnessHookLambdaTarget¶ Structure Class¶ HarnessHookLambdaTarget dataclass ¶ Bases: _SerdeShape The configuration for an Amazon Web Services Lambda hook target. Attributes¶ arn instance-attribute ¶ arn: str The ARN of the Lambda function to invoke. failure_mode class-attribute instance-attribute ¶ failure_mode: str = ... The behavior when the Lambda function times out, returns an error, or returns an invalid response. The default is DENY. timeout_seconds class-attribute instance-attribute ¶ timeout_seconds: int = ... The maximum number of seconds to wait for the Lambda function response. The default is 60 seconds.