Interface CfnImagePipeline.ImageScanningConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnImagePipeline.ImageScanningConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnImagePipeline
@Stability(Stable)
public static interface CfnImagePipeline.ImageScanningConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
Contains settings for Image Builder image resource and container image scans.
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.*;
ImageScanningConfigurationProperty imageScanningConfigurationProperty = ImageScanningConfigurationProperty.builder()
.ecrConfiguration(EcrConfigurationProperty.builder()
.containerTags(List.of("containerTags"))
.repositoryName("repositoryName")
.build())
.imageScanningEnabled(false)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnImagePipeline.ImageScanningConfigurationPropertystatic final classAn implementation forCfnImagePipeline.ImageScanningConfigurationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectContains Amazon ECR settings for vulnerability scans.default ObjectA setting that indicates whether Image Builder keeps a snapshot of the vulnerability scans that Amazon Inspector runs against the build instance when you create a new image.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEcrConfiguration
Contains Amazon ECR settings for vulnerability scans.Returns union: either
IResolvableorCfnImagePipeline.EcrConfigurationProperty- See Also:
-
getImageScanningEnabled
A setting that indicates whether Image Builder keeps a snapshot of the vulnerability scans that Amazon Inspector runs against the build instance when you create a new image.Returns union: either
BooleanorIResolvable- See Also:
-
builder
-