Interface CfnImage.ImageScanningConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnImage.ImageScanningConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnImage
@Stability(Stable)
public static interface CfnImage.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
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnImage.ImageScanningConfigurationProperty
static final class
An implementation forCfnImage.ImageScanningConfigurationProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default Object
Contains Amazon ECR settings for vulnerability scans.default Object
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.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEcrConfiguration
Contains Amazon ECR settings for vulnerability scans.- 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.- See Also:
-
builder
-