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.
Amazon Web ServicesAutomationContainer ImagesEC2Image BuildingVirtual Machine Images
{
"$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-image-tests-configuration-schema.json",
"title": "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>"
}
]
}
}
}
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.