Interface CfnRegistryScanningConfigurationPropsMixin.ScanningRuleProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnRegistryScanningConfigurationPropsMixin.ScanningRuleProperty.Jsii$Proxy
- Enclosing class:
CfnRegistryScanningConfigurationPropsMixin
@Stability(Stable)
public static interface CfnRegistryScanningConfigurationPropsMixin.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.cfnpropertymixins.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 classstatic final classAn implementation forCfnRegistryScanningConfigurationPropsMixin.ScanningRuleProperty -
Method Summary
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: '<'eitherIResolvableorCfnRegistryScanningConfigurationPropsMixin.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
@Stability(Stable) static CfnRegistryScanningConfigurationPropsMixin.ScanningRuleProperty.Builder builder()
-