Skip to content

Get Resource Policy

bedrockagentcorecontrol_get_resource_policy R Documentation

Retrieves the resource-based policy for a specified resource

Description

Retrieves the resource-based policy for a specified resource.

This feature is currently available only for AgentCore Runtime and Gateway.

Usage

bedrockagentcorecontrol_get_resource_policy(resourceArn)

Arguments

resourceArn

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

Value

A list with the following syntax:

list(
  policy = "string"
)

Request syntax

svc$get_resource_policy(
  resourceArn = "string"
)