public static interface CfnImagePipeline.ImageTestsConfigurationProperty
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 java.lang.Object |
getImageTestsEnabled()
Defines if tests should be executed when building this image.
|
default java.lang.Number |
getTimeoutMinutes()
The maximum time in minutes that tests are permitted to run.
|
default java.lang.Object getImageTestsEnabled()
For example, true
or false
.
default java.lang.Number getTimeoutMinutes()
The timeoutMinutes attribute is not currently active. This value is ignored.
static CfnImagePipeline.ImageTestsConfigurationProperty.Builder builder()