Amazon EC2 Image Builder · JSON Structure

Ec2 Image Builder Put Component Policy Request Structure

PutComponentPolicyRequest schema from EC2 Image Builder

Type: object Properties: 2 Required: 2
Amazon Web ServicesAutomationContainer ImagesEC2Image BuildingVirtual Machine Images

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

Properties

componentArn 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-ec2-image-builder/refs/heads/main/json-structure/ec2-image-builder-put-component-policy-request-structure.json",
  "name": "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"
  ]
}