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 classA builder forCfnRegistryScanningConfiguration.ScanningRulePropertystatic final classAn 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 .
Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnRegistryScanningConfiguration.RepositoryFilterProperty>- See Also:
-
getScanFrequency
The frequency that scans are performed at for a private registry.When the
ENHANCEDscan type is specified, the supported scan frequencies areCONTINUOUS_SCANandSCAN_ON_PUSH. When theBASICscan type is specified, theSCAN_ON_PUSHscan frequency is supported. If scan on push is not specified, then theMANUALscan frequency is set by default.- See Also:
-
builder
-