Class CfnRegistryScanningConfiguration.ScanningRuleProperty
The scanning rules associated with the registry.
Inherited Members
Namespace: Amazon.CDK.AWS.ECR
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnRegistryScanningConfiguration.ScanningRuleProperty : CfnRegistryScanningConfiguration.IScanningRuleProperty
Syntax (vb)
Public Class CfnRegistryScanningConfiguration.ScanningRuleProperty Implements CfnRegistryScanningConfiguration.IScanningRuleProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.ECR;
var scanningRuleProperty = new ScanningRuleProperty {
RepositoryFilters = new [] { new RepositoryFilterProperty {
Filter = "filter",
FilterType = "filterType"
} },
ScanFrequency = "scanFrequency"
};
Synopsis
Constructors
ScanningRuleProperty() | The scanning rules associated with the registry. |
Properties
RepositoryFilters | The details of a scanning repository filter. |
ScanFrequency | The frequency that scans are performed at for a private registry. |
Constructors
ScanningRuleProperty()
The scanning rules associated with the registry.
public ScanningRuleProperty()
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.ECR;
var scanningRuleProperty = new ScanningRuleProperty {
RepositoryFilters = new [] { new RepositoryFilterProperty {
Filter = "filter",
FilterType = "filterType"
} },
ScanFrequency = "scanFrequency"
};
Properties
RepositoryFilters
The details of a scanning repository filter.
public object RepositoryFilters { get; set; }
Property Value
Remarks
For more information on how to use filters, see Using filters in the Amazon Elastic Container Registry User Guide .
ScanFrequency
The frequency that scans are performed at for a private registry.
public string ScanFrequency { get; set; }
Property Value
Remarks
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.