{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-vpc-lattice/json-schema/amazon-vpc-lattice-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/amazon-vpc-lattice-putresourcepolicy-api-openapi.yml#/components/schemas/PutResourcePolicyRequest",
  "type": "object",
  "properties": {
    "resourceArn": {
      "type": "string",
      "description": "The ID or ARN of the service network or service for which the policy is created."
    },
    "policy": {
      "type": "string",
      "description": "An IAM policy. The policy string in JSON must not contain newlines or blank lines."
    }
  },
  "required": [
    "resourceArn",
    "policy"
  ]
}