v1

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

Retrieves the resource-based policy for a specified resource.

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

get/resourcepolicy/{resourceArn}

Path parameters

resourceArnstring required

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

Response

Success

policystring

The resource policy associated with the specified resource.