View a markdown version of this page

AWS::ImageBuilder::Image ImageTestsConfiguration - AWS CloudFormation

This is the new CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS 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 CloudFormation template, use the following syntax:

JSON

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

YAML

ImageTestsEnabled: Boolean TimeoutMinutes: Integer

Properties

ImageTestsEnabled

Specifies whether tests run after building the image. When enabled, tests run after the image build and before image distribution. Defaults to true.

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