View source: R/bedrockagent_operations.R
| bedrockagent_put_resource_policy | R Documentation |
Associates a resource policy with a knowledge base. A resource policy allows other AWS accounts to access the knowledge base. For more information, see Cross-account access for knowledge bases.
See https://www.paws-r-sdk.com/docs/bedrockagent_put_resource_policy/ for full documentation.
bedrockagent_put_resource_policy(
resourceArn,
policy,
expectedRevisionId = NULL
)
resourceArn |
[required] The Amazon Resource Name (ARN) of the knowledge base to attach the resource policy to. |
policy |
[required] The JSON-formatted resource policy to associate with the knowledge base. |
expectedRevisionId |
The expected revision identifier of the resource policy. Use this to prevent conflicts when multiple users update the same policy concurrently. Specify the |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.