PutComponentPolicyRequest

PutComponentPolicyRequest schema from EC2 Image Builder

Amazon Web ServicesAutomationContainer ImagesEC2Image BuildingVirtual Machine Images

Properties

Name Type Description
componentArn object
policy object
View JSON Schema on GitHub

JSON Schema

ec2-image-builder-put-component-policy-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-ec2-image-builder/refs/heads/main/json-schema/ec2-image-builder-put-component-policy-request-schema.json",
  "title": "PutComponentPolicyRequest",
  "description": "PutComponentPolicyRequest schema from EC2 Image Builder",
  "type": "object",
  "properties": {
    "componentArn": {
      "allOf": [
        {
          "$ref": "#/components/schemas/ComponentBuildVersionArn"
        },
        {
          "description": "The Amazon Resource Name (ARN) of the component that this policy should be applied to."
        }
      ]
    },
    "policy": {
      "allOf": [
        {
          "$ref": "#/components/schemas/ResourcePolicyDocument"
        },
        {
          "description": "The policy to apply."
        }
      ]
    }
  },
  "required": [
    "componentArn",
    "policy"
  ]
}