Amazon Glue · JSON Structure

Glue Put Resource Policy Request Structure

PutResourcePolicyRequest schema from Amazon Glue API

Type: object Properties: 5 Required: 1
AnalyticsData CatalogData IntegrationData PipelineETLServerless

PutResourcePolicyRequest is a JSON Structure definition published by Amazon Glue, describing 5 properties, of which 1 is required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

PolicyInJson ResourceArn PolicyHashCondition PolicyExistsCondition EnableHybrid

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-glue/refs/heads/main/json-structure/glue-put-resource-policy-request-structure.json",
  "name": "PutResourcePolicyRequest",
  "description": "PutResourcePolicyRequest schema from Amazon Glue API",
  "type": "object",
  "properties": {
    "PolicyInJson": {
      "allOf": [
        {
          "$ref": "#/components/schemas/PolicyJsonString"
        },
        {
          "description": "Contains the policy document to set, in JSON format."
        }
      ]
    },
    "ResourceArn": {
      "allOf": [
        {
          "$ref": "#/components/schemas/GlueResourceArn"
        },
        {
          "description": "Do not use. For internal use only."
        }
      ]
    },
    "PolicyHashCondition": {
      "allOf": [
        {
          "$ref": "#/components/schemas/HashString"
        },
        {
          "description": "The hash value returned when the previous policy was set using <code>PutResourcePolicy</code>. Its purpose is to prevent concurrent modifications of a policy. Do not use this parameter if no previous policy has been set."
        }
      ]
    },
    "PolicyExistsCondition": {
      "allOf": [
        {
          "$ref": "#/components/schemas/ExistCondition"
        },
        {
          "description": "A value of <code>MUST_EXIST</code> is used to update a policy. A value of <code>NOT_EXIST</code> is used to create a new policy. If a value of <code>NONE</code> or a null value is used, the call does not depend on the existence of a policy."
        }
      ]
    },
    "EnableHybrid": {
      "allOf": [
        {
          "$ref": "#/components/schemas/EnableHybridValues"
        },
        {
          "description": "<p>If <code>'TRUE'</code>, indicates that you are using both methods to grant cross-account access to Data Catalog resources:</p> <ul> <li> <p>By directly updating the resource policy with <code>PutResourePolicy</code> </p> </li> <li> <p>By using the <b>Grant permissions</b> command on the Amazon Web Services Management Console.</p> </li> </ul> <p>Must be set to <code>'TRUE'</code> if you have already used the Management Console to grant cross-account access, otherwise the call fails. Default is 'FALSE'.</p>"
        }
      ]
    }
  },
  "required": [
    "PolicyInJson"
  ]
}

Work with this as data

Every JSON Structure here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for json structure

4 MCP tools reach this
  • find_json_structuresBrowse and filter every JSON Structure in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Structure
curl "https://apis.io/api/v1/json-structures/glue-put-resource-policy-request-structure"
All json structure
curl "https://apis.io/api/v1/json-structures?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.