Skip to content

Retrieves the resource policy associated with a knowledge base

Description

Retrieves the resource policy associated with a knowledge base.

Usage

bedrockagent_get_resource_policy(resourceArn)

Arguments

  • resourceArn

[required] The Amazon Resource Name (ARN) of the knowledge base to retrieve the resource policy for.

Value

A list with the following syntax:

list(
  resourceArn = "string",
  policy = "string",
  revisionId = "string"
)

Request syntax

svc$get_resource_policy(
  resourceArn = "string"
)