aws-cdk-lib.aws_imagebuilder.CfnImagePipeline.ImageTestsConfigurationProperty

interface ImageTestsConfigurationProperty

LanguageType name
.NETAmazon.CDK.AWS.ImageBuilder.CfnImagePipeline.ImageTestsConfigurationProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsimagebuilder#CfnImagePipeline_ImageTestsConfigurationProperty
Javasoftware.amazon.awscdk.services.imagebuilder.CfnImagePipeline.ImageTestsConfigurationProperty
Pythonaws_cdk.aws_imagebuilder.CfnImagePipeline.ImageTestsConfigurationProperty
TypeScript aws-cdk-lib » aws_imagebuilder » CfnImagePipeline » ImageTestsConfigurationProperty

When you create an image or container recipe with Image Builder , you can add the build or test components that your image pipeline uses to create the final image.

You must have at least one build component to create a recipe, but test components are not required. Your pipeline runs tests after it builds the image, to ensure that the target image is functional and can be used reliably for launching Amazon EC2 instances.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_imagebuilder as imagebuilder } from 'aws-cdk-lib';
const imageTestsConfigurationProperty: imagebuilder.CfnImagePipeline.ImageTestsConfigurationProperty = {
  imageTestsEnabled: false,
  timeoutMinutes: 123,
};

Properties

NameTypeDescription
imageTestsEnabled?boolean | IResolvableDefines if tests should be executed when building this image.
timeoutMinutes?numberThe maximum time in minutes that tests are permitted to run.

imageTestsEnabled?

Type: boolean | IResolvable (optional)

Defines if tests should be executed when building this image.

For example, true or false .


timeoutMinutes?

Type: number (optional)

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

The timeoutMinutes attribute is not currently active. This value is ignored.