Struct aws_sdk_ecr::input::PutRegistryScanningConfigurationInput [−][src]
#[non_exhaustive]pub struct PutRegistryScanningConfigurationInput {
pub scan_type: Option<ScanType>,
pub rules: Option<Vec<RegistryScanningRule>>,
}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_type: Option<ScanType>The scanning type to set for the registry.
By default, the BASIC scan type is used. When basic scanning is set, you
may specify filters to determine which individual repositories, or all repositories, are
scanned when new images are pushed. Alternatively, you can do manual scans of images
with basic scanning.
When the ENHANCED scan type is set, Amazon Inspector provides automated, continuous
scanning of all repositories in your registry.
rules: Option<Vec<RegistryScanningRule>>The scanning rules to use for the registry. A scanning rule is used to determine which repository filters are used and at what frequency scanning will occur.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<PutRegistryScanningConfiguration, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<PutRegistryScanningConfiguration, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<PutRegistryScanningConfiguration>
Creates a new builder-style object to manufacture PutRegistryScanningConfigurationInput
The scanning type to set for the registry.
By default, the BASIC scan type is used. When basic scanning is set, you
may specify filters to determine which individual repositories, or all repositories, are
scanned when new images are pushed. Alternatively, you can do manual scans of images
with basic scanning.
When the ENHANCED scan type is set, Amazon Inspector provides automated, continuous
scanning of all repositories in your registry.
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more
