This is the new AWS CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.
AWS::ECR::RegistryScanningConfiguration ScanningRule
The scanning rules associated with the registry.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "RepositoryFilters" :[ RepositoryFilter, ... ], "ScanFrequency" :String}
YAML
RepositoryFilters:- RepositoryFilterScanFrequency:String
Properties
RepositoryFilters-
The details of a scanning repository filter. For more information on how to use filters, see Using filters in the Amazon Elastic Container Registry User Guide.
Required: Yes
Type: Array of RepositoryFilter
Minimum:
0Maximum:
100Update requires: No interruption
ScanFrequency-
The frequency that scans are performed at for a private registry. When the
ENHANCEDscan type is specified, the supported scan frequencies areCONTINUOUS_SCANandSCAN_ON_PUSH. When theBASICscan type is specified, theSCAN_ON_PUSHscan frequency is supported. If scan on push is not specified, then theMANUALscan frequency is set by default.Required: Yes
Type: String
Allowed values:
SCAN_ON_PUSH | CONTINUOUS_SCANUpdate requires: No interruption