Class 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.
Inheritance
Namespace: Amazon.CDK.AWS.ImageBuilder
Assembly: Amazon.CDK.AWS.ImageBuilder.dll
Syntax (csharp)
public class ImageTestsConfigurationProperty : Object, CfnImagePipeline.IImageTestsConfigurationProperty
Syntax (vb)
Public Class ImageTestsConfigurationProperty
Inherits Object
Implements CfnImagePipeline.IImageTestsConfigurationProperty
Remarks
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.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.ImageBuilder;
var imageTestsConfigurationProperty = new ImageTestsConfigurationProperty {
ImageTestsEnabled = false,
TimeoutMinutes = 123
};
Synopsis
Constructors
ImageTestsConfigurationProperty() |
Properties
ImageTestsEnabled | Defines if tests should be executed when building this image. |
TimeoutMinutes | The maximum time in minutes that tests are permitted to run. |
Constructors
ImageTestsConfigurationProperty()
public ImageTestsConfigurationProperty()
Properties
ImageTestsEnabled
Defines if tests should be executed when building this image.
public object ImageTestsEnabled { get; set; }
Property Value
System.Object
Remarks
TimeoutMinutes
The maximum time in minutes that tests are permitted to run.
public Nullable<double> TimeoutMinutes { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
The timeoutMinutes attribute is not currently active. This value is ignored.