{
  "info": {
    "_postman_id": "fb2a108c-977a-4577-a6fc-370cdf4771d0",
    "name": "EC2 Image Builder CancelImageCreation PutComponentPolicy API",
    "description": "EC2 Image Builder is a fully managed Amazon Web Services service that makes it easier to automate the creation, management, and deployment of customized, secure, and up-to-date \"golden\" server images that are pre-installed and pre-configured with software and settings to meet specific IT standards.\n\nContact Support:\n Name: Mike Ralphson\n Email: mike.ralphson@gmail.com",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "createdAt": "2026-07-28T10:21:13.000Z",
    "updatedAt": "2026-07-28T10:21:13.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-fb2a108c-977a-4577-a6fc-370cdf4771d0"
  },
  "item": [
    {
      "name": "PutComponentPolicy",
      "item": [
        {
          "name": "Amazon EC2 Image Builder Put Component Policy",
          "id": "01f31bdb-cb71-45be-a6fc-f546f08d07a2",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "X-Amz-Content-Sha256",
                "value": "<string>"
              },
              {
                "key": "X-Amz-Date",
                "value": "<string>"
              },
              {
                "key": "X-Amz-Algorithm",
                "value": "<string>"
              },
              {
                "key": "X-Amz-Credential",
                "value": "<string>"
              },
              {
                "key": "X-Amz-Security-Token",
                "value": "<string>"
              },
              {
                "key": "X-Amz-Signature",
                "value": "<string>"
              },
              {
                "key": "X-Amz-SignedHeaders",
                "value": "<string>"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"componentArn\": \"arn:awsJ:imagebuilder:AeItC+:aws:component/llr0h/02880134282.1936.3/66\",\n  \"policy\": \"<string>\"\n}",
              "options": {
                "raw": {
                  "headerFamily": "json",
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{baseUrl}}/PutComponentPolicy",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "PutComponentPolicy"
              ]
            },
            "description": "Applies a policy to a component. We recommend that you call the RAM API <a href=\"https://docs.aws.amazon.com/ram/latest/APIReference/API_CreateResourceShare.html\">CreateResourceShare</a> to share resources. If you call the Image Builder API <code>PutComponentPolicy</code>, you must also call the RAM API <a href=\"https://docs.aws.amazon.com/ram/latest/APIReference/API_PromoteResourceShareCreatedFromPolicy.html\">PromoteResourceShareCreatedFromPolicy</a> in order for the resource to be visible to all principals with whom the resource is shared."
          },
          "response": [
            {
              "id": "577a77bd-2700-4280-a703-c9a4f60a4512",
              "name": "Success",
              "originalRequest": {
                "method": "PUT",
                "header": [
                  {
                    "key": "X-Amz-Content-Sha256",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Date",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Algorithm",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Credential",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Security-Token",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Signature",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-SignedHeaders",
                    "value": "<string>"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  },
                  {
                    "description": "Added as a part of security scheme: apikey",
                    "key": "Authorization",
                    "value": "<API Key>"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"componentArn\": \"arn:awsJ:imagebuilder:AeItC+:aws:component/llr0h/02880134282.1936.3/66\",\n  \"policy\": \"<string>\"\n}",
                  "options": {
                    "raw": {
                      "headerFamily": "json",
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/PutComponentPolicy",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "PutComponentPolicy"
                  ]
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{\n  \"requestId\": \"<string>\",\n  \"componentArn\": \"arn:awsgx1F[4aQ:imagebuilder:TzK):675911278847:component/6u7ul/8219.62.95947478/78210449\"\n}",
              "createdAt": "2026-07-28T10:21:14.000Z",
              "updatedAt": "2026-07-28T10:21:14.000Z",
              "uid": "35240-577a77bd-2700-4280-a703-c9a4f60a4512"
            },
            {
              "id": "67895051-cb00-4024-8638-6ea9a62ed06f",
              "name": "ServiceException",
              "originalRequest": {
                "method": "PUT",
                "header": [
                  {
                    "key": "X-Amz-Content-Sha256",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Date",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Algorithm",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Credential",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Security-Token",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Signature",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-SignedHeaders",
                    "value": "<string>"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  },
                  {
                    "description": "Added as a part of security scheme: apikey",
                    "key": "Authorization",
                    "value": "<API Key>"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"componentArn\": \"arn:awsJ:imagebuilder:AeItC+:aws:component/llr0h/02880134282.1936.3/66\",\n  \"policy\": \"<string>\"\n}",
                  "options": {
                    "raw": {
                      "headerFamily": "json",
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/PutComponentPolicy",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "PutComponentPolicy"
                  ]
                }
              },
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{}",
              "createdAt": "2026-07-28T10:21:14.000Z",
              "updatedAt": "2026-07-28T10:21:14.000Z",
              "uid": "35240-67895051-cb00-4024-8638-6ea9a62ed06f"
            },
            {
              "id": "0774cac9-6618-4ef5-90e8-2b9b174f00b3",
              "name": "ClientException",
              "originalRequest": {
                "method": "PUT",
                "header": [
                  {
                    "key": "X-Amz-Content-Sha256",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Date",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Algorithm",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Credential",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Security-Token",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Signature",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-SignedHeaders",
                    "value": "<string>"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  },
                  {
                    "description": "Added as a part of security scheme: apikey",
                    "key": "Authorization",
                    "value": "<API Key>"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"componentArn\": \"arn:awsJ:imagebuilder:AeItC+:aws:component/llr0h/02880134282.1936.3/66\",\n  \"policy\": \"<string>\"\n}",
                  "options": {
                    "raw": {
                      "headerFamily": "json",
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/PutComponentPolicy",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "PutComponentPolicy"
                  ]
                }
              },
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{}",
              "createdAt": "2026-07-28T10:21:14.000Z",
              "updatedAt": "2026-07-28T10:21:14.000Z",
              "uid": "35240-0774cac9-6618-4ef5-90e8-2b9b174f00b3"
            },
            {
              "id": "ebb824fd-e6e0-4aa8-9d99-a93297dbd10f",
              "name": "ServiceUnavailableException",
              "originalRequest": {
                "method": "PUT",
                "header": [
                  {
                    "key": "X-Amz-Content-Sha256",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Date",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Algorithm",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Credential",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Security-Token",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Signature",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-SignedHeaders",
                    "value": "<string>"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  },
                  {
                    "description": "Added as a part of security scheme: apikey",
                    "key": "Authorization",
                    "value": "<API Key>"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"componentArn\": \"arn:awsJ:imagebuilder:AeItC+:aws:component/llr0h/02880134282.1936.3/66\",\n  \"policy\": \"<string>\"\n}",
                  "options": {
                    "raw": {
                      "headerFamily": "json",
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/PutComponentPolicy",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "PutComponentPolicy"
                  ]
                }
              },
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{}",
              "createdAt": "2026-07-28T10:21:14.000Z",
              "updatedAt": "2026-07-28T10:21:14.000Z",
              "uid": "35240-ebb824fd-e6e0-4aa8-9d99-a93297dbd10f"
            },
            {
              "id": "1708f448-26e7-4bfe-ab60-7e7a66b2ec80",
              "name": "InvalidRequestException",
              "originalRequest": {
                "method": "PUT",
                "header": [
                  {
                    "key": "X-Amz-Content-Sha256",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Date",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Algorithm",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Credential",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Security-Token",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Signature",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-SignedHeaders",
                    "value": "<string>"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  },
                  {
                    "description": "Added as a part of security scheme: apikey",
                    "key": "Authorization",
                    "value": "<API Key>"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"componentArn\": \"arn:awsJ:imagebuilder:AeItC+:aws:component/llr0h/02880134282.1936.3/66\",\n  \"policy\": \"<string>\"\n}",
                  "options": {
                    "raw": {
                      "headerFamily": "json",
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/PutComponentPolicy",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "PutComponentPolicy"
                  ]
                }
              },
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{}",
              "createdAt": "2026-07-28T10:21:14.000Z",
              "updatedAt": "2026-07-28T10:21:14.000Z",
              "uid": "35240-1708f448-26e7-4bfe-ab60-7e7a66b2ec80"
            },
            {
              "id": "1e6ae38f-390e-4d94-8523-f1c12d0bd161",
              "name": "InvalidParameterValueException",
              "originalRequest": {
                "method": "PUT",
                "header": [
                  {
                    "key": "X-Amz-Content-Sha256",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Date",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Algorithm",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Credential",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Security-Token",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Signature",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-SignedHeaders",
                    "value": "<string>"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  },
                  {
                    "description": "Added as a part of security scheme: apikey",
                    "key": "Authorization",
                    "value": "<API Key>"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"componentArn\": \"arn:awsJ:imagebuilder:AeItC+:aws:component/llr0h/02880134282.1936.3/66\",\n  \"policy\": \"<string>\"\n}",
                  "options": {
                    "raw": {
                      "headerFamily": "json",
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/PutComponentPolicy",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "PutComponentPolicy"
                  ]
                }
              },
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{}",
              "createdAt": "2026-07-28T10:21:14.000Z",
              "updatedAt": "2026-07-28T10:21:14.000Z",
              "uid": "35240-1e6ae38f-390e-4d94-8523-f1c12d0bd161"
            },
            {
              "id": "f8d2bd61-e1e4-4f10-9fe1-4f619ce44c2b",
              "name": "ResourceNotFoundException",
              "originalRequest": {
                "method": "PUT",
                "header": [
                  {
                    "key": "X-Amz-Content-Sha256",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Date",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Algorithm",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Credential",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Security-Token",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Signature",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-SignedHeaders",
                    "value": "<string>"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  },
                  {
                    "description": "Added as a part of security scheme: apikey",
                    "key": "Authorization",
                    "value": "<API Key>"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"componentArn\": \"arn:awsJ:imagebuilder:AeItC+:aws:component/llr0h/02880134282.1936.3/66\",\n  \"policy\": \"<string>\"\n}",
                  "options": {
                    "raw": {
                      "headerFamily": "json",
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/PutComponentPolicy",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "PutComponentPolicy"
                  ]
                }
              },
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{}",
              "createdAt": "2026-07-28T10:21:14.000Z",
              "updatedAt": "2026-07-28T10:21:14.000Z",
              "uid": "35240-f8d2bd61-e1e4-4f10-9fe1-4f619ce44c2b"
            },
            {
              "id": "2f4d5291-e0d0-4a1a-9d1a-43bf18cbeebd",
              "name": "ForbiddenException",
              "originalRequest": {
                "method": "PUT",
                "header": [
                  {
                    "key": "X-Amz-Content-Sha256",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Date",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Algorithm",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Credential",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Security-Token",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Signature",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-SignedHeaders",
                    "value": "<string>"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  },
                  {
                    "description": "Added as a part of security scheme: apikey",
                    "key": "Authorization",
                    "value": "<API Key>"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"componentArn\": \"arn:awsJ:imagebuilder:AeItC+:aws:component/llr0h/02880134282.1936.3/66\",\n  \"policy\": \"<string>\"\n}",
                  "options": {
                    "raw": {
                      "headerFamily": "json",
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/PutComponentPolicy",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "PutComponentPolicy"
                  ]
                }
              },
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{}",
              "createdAt": "2026-07-28T10:21:14.000Z",
              "updatedAt": "2026-07-28T10:21:14.000Z",
              "uid": "35240-2f4d5291-e0d0-4a1a-9d1a-43bf18cbeebd"
            },
            {
              "id": "d1dbbdb3-5dd3-4202-85a1-c7d5c54c8e55",
              "name": "CallRateLimitExceededException",
              "originalRequest": {
                "method": "PUT",
                "header": [
                  {
                    "key": "X-Amz-Content-Sha256",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Date",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Algorithm",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Credential",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Security-Token",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Signature",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-SignedHeaders",
                    "value": "<string>"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  },
                  {
                    "description": "Added as a part of security scheme: apikey",
                    "key": "Authorization",
                    "value": "<API Key>"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"componentArn\": \"arn:awsJ:imagebuilder:AeItC+:aws:component/llr0h/02880134282.1936.3/66\",\n  \"policy\": \"<string>\"\n}",
                  "options": {
                    "raw": {
                      "headerFamily": "json",
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/PutComponentPolicy",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "PutComponentPolicy"
                  ]
                }
              },
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{}",
              "createdAt": "2026-07-28T10:21:14.000Z",
              "updatedAt": "2026-07-28T10:21:14.000Z",
              "uid": "35240-d1dbbdb3-5dd3-4202-85a1-c7d5c54c8e55"
            }
          ],
          "createdAt": "2026-07-28T10:21:14.000Z",
          "updatedAt": "2026-07-28T10:21:14.000Z",
          "uid": "35240-01f31bdb-cb71-45be-a6fc-f546f08d07a2"
        }
      ],
      "id": "5bf75671-4cec-403f-a7ea-dacd6b831a57",
      "createdAt": "2026-07-28T10:21:14.000Z",
      "updatedAt": "2026-07-28T10:21:14.000Z",
      "uid": "35240-5bf75671-4cec-403f-a7ea-dacd6b831a57"
    }
  ],
  "auth": {
    "type": "apikey",
    "apikey": [
      {
        "key": "key",
        "value": "Authorization",
        "type": "string"
      },
      {
        "key": "value",
        "value": "{{apiKey}}",
        "type": "string"
      },
      {
        "key": "in",
        "value": "header",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "region",
      "value": "us-east-1"
    },
    {
      "key": "baseUrl",
      "value": "http://imagebuilder.{{region}}.amazonaws.com"
    }
  ]
}