Amazon EC2 Image Builder · JSON Structure

Ec2 Image Builder Image Tests Configuration Structure

Configure image tests for your pipeline build. Tests run after building the image, to verify that the AMI or container image is valid before distributing it.

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

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

Properties

imageTestsEnabled timeoutMinutes

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-image-tests-configuration-structure.json",
  "name": "ImageTestsConfiguration",
  "description": "Configure image tests for your pipeline build. Tests run after building the image, to verify that the AMI or container image is valid before distributing it.",
  "type": "object",
  "properties": {
    "imageTestsEnabled": {
      "allOf": [
        {
          "$ref": "#/components/schemas/NullableBoolean"
        },
        {
          "description": "Determines if tests should run after building the image. Image Builder defaults to enable tests to run following the image build, before image distribution."
        }
      ]
    },
    "timeoutMinutes": {
      "allOf": [
        {
          "$ref": "#/components/schemas/ImageTestsTimeoutMinutes"
        },
        {
          "description": "<p>The maximum time in minutes that tests are permitted to run.</p> <note> <p>The timeoutMinutes attribute is not currently active. This value is ignored.</p> </note>"
        }
      ]
    }
  }
}