#[non_exhaustive]pub struct ImageScanningConfiguration {
pub image_scanning_enabled: Option<bool>,
pub ecr_configuration: Option<EcrConfiguration>,
}
Expand description
Contains settings for Image Builder image resource and container image scans.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.image_scanning_enabled: Option<bool>
A setting that indicates whether Image Builder keeps a snapshot of the vulnerability scans that Amazon Inspector runs against the build instance when you create a new image.
ecr_configuration: Option<EcrConfiguration>
Contains Amazon ECR settings for vulnerability scans.
Implementations§
source§impl ImageScanningConfiguration
impl ImageScanningConfiguration
sourcepub fn image_scanning_enabled(&self) -> Option<bool>
pub fn image_scanning_enabled(&self) -> Option<bool>
A setting that indicates whether Image Builder keeps a snapshot of the vulnerability scans that Amazon Inspector runs against the build instance when you create a new image.
sourcepub fn ecr_configuration(&self) -> Option<&EcrConfiguration>
pub fn ecr_configuration(&self) -> Option<&EcrConfiguration>
Contains Amazon ECR settings for vulnerability scans.
source§impl ImageScanningConfiguration
impl ImageScanningConfiguration
sourcepub fn builder() -> ImageScanningConfigurationBuilder
pub fn builder() -> ImageScanningConfigurationBuilder
Creates a new builder-style object to manufacture ImageScanningConfiguration
.
Trait Implementations§
source§impl Clone for ImageScanningConfiguration
impl Clone for ImageScanningConfiguration
source§fn clone(&self) -> ImageScanningConfiguration
fn clone(&self) -> ImageScanningConfiguration
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ImageScanningConfiguration
impl Debug for ImageScanningConfiguration
source§impl PartialEq for ImageScanningConfiguration
impl PartialEq for ImageScanningConfiguration
source§fn eq(&self, other: &ImageScanningConfiguration) -> bool
fn eq(&self, other: &ImageScanningConfiguration) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ImageScanningConfiguration
Auto Trait Implementations§
impl RefUnwindSafe for ImageScanningConfiguration
impl Send for ImageScanningConfiguration
impl Sync for ImageScanningConfiguration
impl Unpin for ImageScanningConfiguration
impl UnwindSafe for ImageScanningConfiguration
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.