v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-141531,219979.8 KB

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.

put/resourcepolicy/{resourceArn}

Path parameters

resourceArnstring required

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

Request body

policystring required

The resource policy to create or update.

Response

Success

policystring required

The resource policy that was created or updated.