Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

Invoke an AWS Lambda function from an Amazon Bedrock flow in a different AWS account

Focus mode
Invoke an AWS Lambda function from an Amazon Bedrock flow in a different AWS account - Amazon Bedrock

An Amazon Bedrock flow can invoke a AWS Lambda function that is in a different AWS account from the flow. Use the following procedure to configure the Lambda function (Account A) and the flow (Account B).

To configure a flow flow to call a Lambda function in a different AWS account
  1. In Account A (Lambda function), add a resource-based policy to the Lambda function, using the Flow Execution Role from Account B as the principal. For more information, see Granting Lambda function access to other accounts in the AWS Lambda documentation.

  2. In Account B (Amazon Bedrock flow), add permission for the invoke operation to the flow execution role for the Lambda function ARN that you are using. For more information, see Update permissions for a role in the AWS Identity and Access Management documentation.

PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.