Amazon Marketplace · JSON Structure

Amazon Marketplace Put Resource Policy Request Structure

PutResourcePolicyRequest schema from Amazon Marketplace API

Type: object Properties: 2 Required: 2
CommerceISVMarketplaceSoftware Catalog

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

Properties

ResourceArn Policy

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-marketplace/refs/heads/main/json-structure/amazon-marketplace-put-resource-policy-request-structure.json",
  "name": "PutResourcePolicyRequest",
  "description": "PutResourcePolicyRequest schema from Amazon Marketplace API",
  "type": "object",
  "properties": {
    "ResourceArn": {
      "allOf": [
        {
          "$ref": "#/components/schemas/ResourceARN"
        },
        {
          "description": "The Amazon Resource Name (ARN) of the Entity resource you want to associate with a resource policy. "
        }
      ]
    },
    "Policy": {
      "allOf": [
        {
          "$ref": "#/components/schemas/ResourcePolicyJson"
        },
        {
          "description": "The policy document to set; formatted in JSON."
        }
      ]
    }
  },
  "required": [
    "ResourceArn",
    "Policy"
  ]
}