{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cloudfront/json-schema/cloudfront-put-resource-policy-request-schema.json",
  "title": "PutResourcePolicyRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cloudfront-put-resource-policy-api-openapi.yml#/components/schemas/PutResourcePolicyRequest",
  "type": "object",
  "properties": {
    "ResourceArn": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) of the CloudFront resource for which the policy is being created."
    },
    "PolicyDocument": {
      "type": "string",
      "description": "The JSON-formatted resource policy to create."
    }
  },
  "required": [
    "ResourceArn",
    "PolicyDocument"
  ]
}