@Stability(value=Stable)
public static interface CfnRepository.ImageScanningConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnRepository.ImageScanningConfigurationProperty.Builder
A builder for
CfnRepository.ImageScanningConfigurationProperty |
static class |
CfnRepository.ImageScanningConfigurationProperty.Jsii$Proxy
An implementation for
CfnRepository.ImageScanningConfigurationProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnRepository.ImageScanningConfigurationProperty.Builder |
builder() |
default Object |
getScanOnPush()
The setting that determines whether images are scanned after being pushed to a repository.
|
@Stability(value=Stable) @Nullable default Object getScanOnPush()
If set to true , images will be scanned after being pushed. If this parameter is not specified, it will default to false and images will not be scanned unless a scan is manually started.
@Stability(value=Stable) static CfnRepository.ImageScanningConfigurationProperty.Builder builder()
Copyright © 2022. All rights reserved.