ImageScanningConfigurationProperty Struct
The image scanning configuration for a repository.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ecr as ecr } from 'aws-cdk-lib';
const imageScanningConfigurationProperty: ecr.CfnRepository.ImageScanningConfigurationProperty = {
scanOnPush: false,
};
Properties
scanOnPushboolean | IResolvablescan_on_pushtyping.Union[bool, IResolvable]scanOnPushBooleanScanOnPushboolScanOnPushinterface{}#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 to false and images will not be scanned unless a scan is manually started.