Struct aws_sdk_ecr::types::RegistryScanningRule
source · #[non_exhaustive]pub struct RegistryScanningRule {
pub scan_frequency: ScanFrequency,
pub repository_filters: Vec<ScanningRepositoryFilter>,
}
Expand description
The details of a scanning rule for a private registry.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.scan_frequency: ScanFrequency
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.
repository_filters: Vec<ScanningRepositoryFilter>
The repository filters associated with the scanning configuration for a private registry.
Implementations§
source§impl RegistryScanningRule
impl RegistryScanningRule
sourcepub fn scan_frequency(&self) -> &ScanFrequency
pub fn scan_frequency(&self) -> &ScanFrequency
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.
sourcepub fn repository_filters(&self) -> &[ScanningRepositoryFilter]
pub fn repository_filters(&self) -> &[ScanningRepositoryFilter]
The repository filters associated with the scanning configuration for a private registry.
source§impl RegistryScanningRule
impl RegistryScanningRule
sourcepub fn builder() -> RegistryScanningRuleBuilder
pub fn builder() -> RegistryScanningRuleBuilder
Creates a new builder-style object to manufacture RegistryScanningRule
.
Trait Implementations§
source§impl Clone for RegistryScanningRule
impl Clone for RegistryScanningRule
source§fn clone(&self) -> RegistryScanningRule
fn clone(&self) -> RegistryScanningRule
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for RegistryScanningRule
impl Debug for RegistryScanningRule
source§impl PartialEq for RegistryScanningRule
impl PartialEq for RegistryScanningRule
source§fn eq(&self, other: &RegistryScanningRule) -> bool
fn eq(&self, other: &RegistryScanningRule) -> bool
self
and other
values to be equal, and is used
by ==
.