Interface CfnRepository.ImageScanningConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnRepository.ImageScanningConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnRepository
@Stability(Stable)
public static interface CfnRepository.ImageScanningConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
The image scanning configuration for a repository.
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.ecr.*;
ImageScanningConfigurationProperty imageScanningConfigurationProperty = ImageScanningConfigurationProperty.builder()
.scanOnPush(false)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnRepository.ImageScanningConfigurationPropertystatic final classAn implementation forCfnRepository.ImageScanningConfigurationProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getScanOnPush
The setting that determines whether images are scanned after being pushed to a repository.If set to
true, images will be scanned after being pushed. If this parameter is not specified, it will default tofalseand images will not be scanned unless a scan is manually started.Returns union: either
BooleanorIResolvable- See Also:
-
builder
-