View a markdown version of this page

AWS::ImageBuilder::Image ImageTestsConfiguration - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

This is the new Amazon CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the Amazon CloudFormation User Guide.

AWS::ImageBuilder::Image ImageTestsConfiguration

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.

Syntax

To declare this entity in your Amazon CloudFormation template, use the following syntax:

JSON

{ "ImageTestsEnabled" : Boolean, "TimeoutMinutes" : Integer }

YAML

ImageTestsEnabled: Boolean TimeoutMinutes: Integer

Properties

ImageTestsEnabled

Determines if tests should run after building the image. Image Builder defaults to enable tests to run following the image build, before image distribution.

Required: No

Type: Boolean

Update requires: Replacement

TimeoutMinutes

The maximum time in minutes that tests are permitted to run.

Note

The timeout property is not currently active. This value is ignored.

Required: No

Type: Integer

Minimum: 60

Maximum: 1440

Update requires: Replacement