v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1445247249.8 KB

Gets a resource policy that is identified by its resource ARN.

post/#X-Amz-Target=CodeBuild_20161006.GetResourcePolicy

Headers

X-Amz-Target'CodeBuild_20161006.GetResourcePolicy' required

Request body

resourceArnstring required

The ARN of the resource that is associated with the resource policy.

Response

Success

policystring

The resource policy for the resource identified by the input ARN parameter.