AWS::ECR::RegistryScanningConfiguration - 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

The scanning configuration for a private registry.

Syntax

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

JSON

{ "Type" : "AWS::ECR::RegistryScanningConfiguration", "Properties" : { "Rules" : [ ScanningRule, ... ], "ScanType" : String } }

YAML

Type: AWS::ECR::RegistryScanningConfiguration Properties: Rules: - ScanningRule ScanType: String

Properties

Rules

The scanning rules associated with the registry.

Required: Yes

Type: Array of ScanningRule

Minimum: 0

Maximum: 2

Update requires: No interruption

ScanType

The type of scanning configured for the registry.

Required: Yes

Type: String

Allowed values: BASIC | ENHANCED

Update requires: No interruption

Return values

Ref

Fn::GetAtt

RegistryId

The account ID of the destination registry.