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
The scanning configuration for a private registry.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "Type" : "AWS::ECR::RegistryScanningConfiguration", "Properties" : { "Rules" :[ ScanningRule, ... ], "ScanType" :String} }
YAML
Type: AWS::ECR::RegistryScanningConfiguration Properties: Rules:- ScanningRuleScanType:String
Properties
Rules-
The scanning rules associated with the registry.
Required: Yes
Type: Array of ScanningRule
Minimum:
0Maximum:
2Update requires: No interruption
ScanType-
The type of scanning configured for the registry.
Required: Yes
Type: String
Allowed values:
BASIC | ENHANCEDUpdate requires: No interruption
Return values
Ref
Fn::GetAtt
RegistryId-
The account ID of the destination registry.