AWS::ECR::RegistryScanningConfiguration ScanningRule - AWS CloudFormation
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

This is the new 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 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