v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1422142107.7 KB

Returns details about a policy for a resource.

post/GetResourcePolicy

Request body

ResourceArnstring required

Amazon Resource Name (ARN) for the resource.

PolicyNamestring required

Name of the policy.

PolicyType'AWS_MANAGED' | 'AWS_RAM' required

The type of policy.

Response

Success

ResourceArnstring required

Amazon Resource Name (ARN) for the resource.

PolicyType'AWS_MANAGED' | 'AWS_RAM' required

The type of policy

PolicyVersionArnstring

Amazon Resource Name (ARN) for the policy version.

PolicyNamestring required

Name of the policy.

PolicyDocumentstring password required

Document that contains the contents for the policy.