AWS::ImageBuilder::Image ImageTestsConfiguration
When you create an image or container recipe with Image Builder, you can add the build or test components that are used to create the final image. You must have at least one build component to create a recipe, but test components are not required. If you have added tests, they run after the image is created, to ensure that the target image is functional and can be used reliably for launching Amazon EC2 instances.
Syntax
To declare this entity in your AWS 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 attribute is not currently active. This value is ignored.
Required: No
Type: Integer
Minimum:
60
Maximum:
1440
Update requires: Replacement