interface ScanningRuleProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.ECR.Mixins.CfnRegistryScanningConfigurationPropsMixin.ScanningRuleProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsecr/mixins#CfnRegistryScanningConfigurationPropsMixin_ScanningRuleProperty |
Java | software.amazon.awscdk.mixins.preview.services.ecr.mixins.CfnRegistryScanningConfigurationPropsMixin.ScanningRuleProperty |
Python | aws_cdk.mixins_preview.aws_ecr.mixins.CfnRegistryScanningConfigurationPropsMixin.ScanningRuleProperty |
TypeScript | @aws-cdk/mixins-preview » aws_ecr » mixins » CfnRegistryScanningConfigurationPropsMixin » ScanningRuleProperty |
The scanning rules associated with the registry.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as ecr_mixins } from '@aws-cdk/mixins-preview/aws-ecr';
const scanningRuleProperty: ecr_mixins.CfnRegistryScanningConfigurationPropsMixin.ScanningRuleProperty = {
repositoryFilters: [{
filter: 'filter',
filterType: 'filterType',
}],
scanFrequency: 'scanFrequency',
};
Properties
| Name | Type | Description |
|---|---|---|
| repository | IResolvable | (IResolvable | Repository)[] | The details of a scanning repository filter. |
| scan | string | The frequency that scans are performed at for a private registry. |
repositoryFilters?
Type:
IResolvable | (IResolvable | Repository)[]
(optional)
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 .
scanFrequency?
Type:
string
(optional)
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.

.NET
Go
Java
Python
TypeScript