AWS::ECR::RegistryScanningConfiguration ScanningRule - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

This is the new Amazon CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the Amazon CloudFormation User Guide.

AWS::ECR::RegistryScanningConfiguration ScanningRule

The scanning rules associated with the registry.

Syntax

To declare this entity in your Amazon CloudFormation template, use the following syntax:

JSON

{ "RepositoryFilters" : [ RepositoryFilter, ... ], "ScanFrequency" : 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: 0

Maximum: 100

Update requires: No interruption

ScanFrequency

The frequency that scans are performed at for a private registry. When the ENHANCED scan type is specified, the supported scan frequencies are CONTINUOUS_SCAN and SCAN_ON_PUSH. When the BASIC scan type is specified, the SCAN_ON_PUSH scan frequency is supported. If scan on push is not specified, then the MANUAL scan frequency is set by default.

Required: Yes

Type: String

Allowed values: SCAN_ON_PUSH | CONTINUOUS_SCAN

Update requires: No interruption