Interface CfnRegistryScanningConfiguration.ScanningRuleProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnRegistryScanningConfiguration.ScanningRuleProperty.Jsii$Proxy
- Enclosing class:
CfnRegistryScanningConfiguration
@Stability(Stable)
public static interface CfnRegistryScanningConfiguration.ScanningRuleProperty
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.ecr.*; ScanningRuleProperty scanningRuleProperty = ScanningRuleProperty.builder() .repositoryFilters(List.of(RepositoryFilterProperty.builder() .filter("filter") .filterType("filterType") .build())) .scanFrequency("scanFrequency") .build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnRegistryScanningConfiguration.ScanningRuleProperty
static final class
An implementation forCfnRegistryScanningConfiguration.ScanningRuleProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
The details of a scanning repository filter.The frequency that scans are performed at for a private registry.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getRepositoryFilters
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 .
- See Also:
-
getScanFrequency
The frequency that scans are performed at for a private registry.When the
ENHANCED
scan type is specified, the supported scan frequencies areCONTINUOUS_SCAN
andSCAN_ON_PUSH
. When theBASIC
scan type is specified, theSCAN_ON_PUSH
scan frequency is supported. If scan on push is not specified, then theMANUAL
scan frequency is set by default.- See Also:
-
builder
-