AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::ECR::RegistryScanningConfiguration

CfnRegistryScanningConfiguration

The scanning configuration for a private registry.

Import

import { CfnRegistryScanningConfiguration } from 'aws-cdk-lib/aws-ecr';

Or use the module namespace:

import * as ecr from 'aws-cdk-lib/aws-ecr';
// ecr.CfnRegistryScanningConfiguration

Properties

Configuration passed to the constructor as CfnRegistryScanningConfigurationProps.

rulesRequired
IResolvable | IResolvable | ScanningRuleProperty[]

The scanning rules associated with the registry.

scanTypeRequired
string

The type of scanning configured for the registry.

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter