Skip to content

Creates or updates a resource-based policy for a resource with the specified resourceArn

Description

Creates or updates a resource-based policy for a resource with the specified resourceArn.

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

Usage

bedrockagentcorecontrol_put_resource_policy(resourceArn, policy)

Arguments

  • resourceArn

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

  • policy

    [required] The resource policy to create or update.

Value

A list with the following syntax:

list(
  policy = "string"
)

Request syntax

svc$put_resource_policy(
  resourceArn = "string",
  policy = "string"
)