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

The scanning configuration for a private registry.

Syntax

To declare this entity in your 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.