Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.Share a model with another account
After you fulfill the prerequisites, you can share a model. Choose the tab for your preferred method, and then follow the steps:
- Console
-
-
Sign in to the AWS Management Console with an IAM identity that has permissions to use the Amazon Bedrock console. Then, open the Amazon Bedrock console at
https://eusc-de-east-1.console.amazonaws-eusc.eu/bedrock.
-
From the left navigation pane, choose Custom models under Tune.
-
Select the button next to the model that you want to share. Then, choose the three dots (
) and select Share.
-
In the Model sharing details section, do the following:
-
In the Name for shared model field, give the shared model a name.
-
In the Recipient account ID field, specify the ID of the account that will receive the model.
-
(Optional) To add tags, expand the Tags section. For more information, see Tagging Amazon Bedrock resources.
-
Choose Share model. After the recipient accepts the model in Resource Access Manager, the model appears in their list of custom models.
- API
-
To share a model, send a CreateResourceShare request with an AWS Resource Access Manager endpoint. Minimally, provide the following fields:
| Field |
Use case |
| Name |
To provide a name for the resource share. |
| resourceArns |
To specify the ARNs of each model to share. |
| principals |
To specify the principals to share the model with. |
The CreateResourceShare response returns a resourceShareArn that you can use to manage the resource share.
The account receiving a model can check whether a model has been shared by sending a ListCustomModels request with an Amazon Bedrock control plane endpoint. Models that have been shared will show up with a shared status of true.
After sharing the model, the recipient of the model must copy it into a Region in order to use it. For more information, see Copy a customized or shared model to use in a Region.