{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-ec2-image-builder/json-schema/amazon-ec2-image-builder-put-image-policy-request-schema.json",
  "title": "PutImagePolicyRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-ec2-image-builder-putimagepolicy-api-openapi.yml#/components/schemas/PutImagePolicyRequest",
  "type": "object",
  "properties": {
    "imageArn": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) of the image that this policy should be applied to."
    },
    "policy": {
      "type": "string",
      "description": "The resource policy to apply to the image, as a JSON policy document. Image Builder validates the policy with Amazon Web Services RAM before applying it, and rejects invalid policies with InvalidParameterValueException."
    }
  },
  "required": [
    "imageArn",
    "policy"
  ]
}