Interface CfnRepository.IImageScanningConfigurationProperty
The image scanning configuration for a repository.
Namespace: Amazon.CDK.AWS.ECR
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IImageScanningConfigurationProperty
Syntax (vb)
Public Interface 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
Properties
ScanOnPush | The setting that determines whether images are scanned after being pushed to a repository. |
Properties
ScanOnPush
The setting that determines whether images are scanned after being pushed to a repository.
virtual object ScanOnPush { get; }
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.