@Stability(value=Stable)
public static interface CfnImagePipeline.ImageTestsConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.imagebuilder.*;
ImageTestsConfigurationProperty imageTestsConfigurationProperty = ImageTestsConfigurationProperty.builder()
.imageTestsEnabled(false)
.timeoutMinutes(123)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnImagePipeline.ImageTestsConfigurationProperty.Builder
A builder for
CfnImagePipeline.ImageTestsConfigurationProperty |
static class |
CfnImagePipeline.ImageTestsConfigurationProperty.Jsii$Proxy
An implementation for
CfnImagePipeline.ImageTestsConfigurationProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnImagePipeline.ImageTestsConfigurationProperty.Builder |
builder() |
default Object |
getImageTestsEnabled()
Defines if tests should be executed when building this image.
|
default Number |
getTimeoutMinutes()
The maximum time in minutes that tests are permitted to run.
|
@Stability(value=Stable) @Nullable default Object getImageTestsEnabled()
For example, true or false .
@Stability(value=Stable) @Nullable default Number getTimeoutMinutes()
@Stability(value=Stable) static CfnImagePipeline.ImageTestsConfigurationProperty.Builder builder()
Copyright © 2022. All rights reserved.