To invoke a flow, you must first create an alias that points to a version of the flow. To learn how to create an alias, choose the tab for your preferred method, and then follow the steps:
To create an alias for your Amazon Bedrock Flows
-
Sign in to the AWS Management Console using an IAM role with Amazon Bedrock permissions, and open the Amazon Bedrock console at Getting Started with the AWS Management Console.
-
Select Amazon Bedrock Flows from the left navigation pane. Then, choose a flow in the Flows section.
-
In the Aliases section, choose Create alias.
-
Enter a unique name for the alias and provide an optional description.
-
Choose one of the following options:
-
To create a new version, choose Create a new version and to associate it to this alias.
-
To use an existing version, choose Use an existing version to associate this alias. From the dropdown menu, choose the version that you want to associate the alias to.
-
-
Select Create alias. A success banner appears at the top.
Creation of an alias produces a resource with an identifier and an Amazon Resource Name (ARN) that you can specify when you invoke a flow from your application. To learn how to invoke a flow, see Test a flow in Amazon Bedrock.