Class CfnRepository.ImageScanningConfigurationProperty
The image scanning configuration for a repository.
Inheritance
System.Object
CfnRepository.ImageScanningConfigurationProperty
Namespace: Amazon.CDK.AWS.ECR
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class ImageScanningConfigurationProperty : Object, CfnRepository.IImageScanningConfigurationProperty
Syntax (vb)
Public Class ImageScanningConfigurationProperty
Inherits Object
Implements CfnRepository.IImageScanningConfigurationProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.ECR;
var imageScanningConfigurationProperty = new ImageScanningConfigurationProperty {
ScanOnPush = false
};
Synopsis
Constructors
ImageScanningConfigurationProperty() |
Properties
ScanOnPush | The setting that determines whether images are scanned after being pushed to a repository. |
Constructors
ImageScanningConfigurationProperty()
public ImageScanningConfigurationProperty()
Properties
ScanOnPush
The setting that determines whether images are scanned after being pushed to a repository.
public object ScanOnPush { get; set; }
Property Value
System.Object
Remarks
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.