Struct aws_sdk_imagebuilder::types::EcrConfiguration
source · #[non_exhaustive]pub struct EcrConfiguration {
pub repository_name: Option<String>,
pub container_tags: Option<Vec<String>>,
}
Expand description
Settings that Image Builder uses to configure the ECR repository and the output container images that Amazon Inspector scans.
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.repository_name: Option<String>
The name of the container repository that Amazon Inspector scans to identify findings for your container images. The name includes the path for the repository location. If you don’t provide this information, Image Builder creates a repository in your account named image-builder-image-scanning-repository
for vulnerability scans of your output container images.
Tags for Image Builder to apply to the output container image that &INS; scans. Tags can help you identify and manage your scanned images.
Implementations§
source§impl EcrConfiguration
impl EcrConfiguration
sourcepub fn repository_name(&self) -> Option<&str>
pub fn repository_name(&self) -> Option<&str>
The name of the container repository that Amazon Inspector scans to identify findings for your container images. The name includes the path for the repository location. If you don’t provide this information, Image Builder creates a repository in your account named image-builder-image-scanning-repository
for vulnerability scans of your output container images.
Tags for Image Builder to apply to the output container image that &INS; scans. Tags can help you identify and manage your scanned images.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .container_tags.is_none()
.
source§impl EcrConfiguration
impl EcrConfiguration
sourcepub fn builder() -> EcrConfigurationBuilder
pub fn builder() -> EcrConfigurationBuilder
Creates a new builder-style object to manufacture EcrConfiguration
.
Trait Implementations§
source§impl Clone for EcrConfiguration
impl Clone for EcrConfiguration
source§fn clone(&self) -> EcrConfiguration
fn clone(&self) -> EcrConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for EcrConfiguration
impl Debug for EcrConfiguration
source§impl PartialEq for EcrConfiguration
impl PartialEq for EcrConfiguration
source§fn eq(&self, other: &EcrConfiguration) -> bool
fn eq(&self, other: &EcrConfiguration) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for EcrConfiguration
Auto Trait Implementations§
impl Freeze for EcrConfiguration
impl RefUnwindSafe for EcrConfiguration
impl Send for EcrConfiguration
impl Sync for EcrConfiguration
impl Unpin for EcrConfiguration
impl UnwindSafe for EcrConfiguration
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
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more