v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-142021,119944.8 KB

Retrieves a specified resource policy.

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

Headers

X-Amz-Target'AWSGlue.GetResourcePolicy' required

Request body

ResourceArnstring

The ARN of the Glue resource for which to retrieve the resource policy. If not supplied, the Data Catalog resource policy is returned. Use <code>GetResourcePolicies</code> to view all existing resource policies. For more information see <a href="https://docs.aws.amazon.com/glue/latest/dg/glue-specifying-resource-arns.html">Specifying Glue Resource ARNs</a>.

Response

Success

PolicyInJsonstring

Contains the requested policy document, in JSON format.

PolicyHashstring

Contains the hash value associated with this policy.

CreateTimestring date-time

The date and time at which the policy was created.

UpdateTimestring date-time

The date and time at which the policy was last updated.