Struct aws_sdk_ssm::types::BaselineOverride
source · #[non_exhaustive]pub struct BaselineOverride {
pub operating_system: Option<OperatingSystem>,
pub global_filters: Option<PatchFilterGroup>,
pub approval_rules: Option<PatchRuleGroup>,
pub approved_patches: Option<Vec<String>>,
pub approved_patches_compliance_level: Option<PatchComplianceLevel>,
pub rejected_patches: Option<Vec<String>>,
pub rejected_patches_action: Option<PatchAction>,
pub approved_patches_enable_non_security: bool,
pub sources: Option<Vec<PatchSource>>,
}
Expand description
Defines the basic information about a patch baseline override.
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.operating_system: Option<OperatingSystem>
The operating system rule used by the patch baseline override.
global_filters: Option<PatchFilterGroup>
A set of patch filters, typically used for approval rules.
approval_rules: Option<PatchRuleGroup>
A set of rules defining the approval rules for a patch baseline.
approved_patches: Option<Vec<String>>
A list of explicitly approved patches for the baseline.
For information about accepted formats for lists of approved patches and rejected patches, see About package name formats for approved and rejected patch lists in the Amazon Web Services Systems Manager User Guide.
approved_patches_compliance_level: Option<PatchComplianceLevel>
Defines the compliance level for approved patches. When an approved patch is reported as missing, this value describes the severity of the compliance violation.
rejected_patches: Option<Vec<String>>
A list of explicitly rejected patches for the baseline.
For information about accepted formats for lists of approved patches and rejected patches, see About package name formats for approved and rejected patch lists in the Amazon Web Services Systems Manager User Guide.
rejected_patches_action: Option<PatchAction>
The action for Patch Manager to take on patches included in the RejectedPackages
list. A patch can be allowed only if it is a dependency of another package, or blocked entirely along with packages that include it as a dependency.
approved_patches_enable_non_security: bool
Indicates whether the list of approved patches includes non-security updates that should be applied to the managed nodes. The default value is false
. Applies to Linux managed nodes only.
sources: Option<Vec<PatchSource>>
Information about the patches to use to update the managed nodes, including target operating systems and source repositories. Applies to Linux managed nodes only.
Implementations§
source§impl BaselineOverride
impl BaselineOverride
sourcepub fn operating_system(&self) -> Option<&OperatingSystem>
pub fn operating_system(&self) -> Option<&OperatingSystem>
The operating system rule used by the patch baseline override.
sourcepub fn global_filters(&self) -> Option<&PatchFilterGroup>
pub fn global_filters(&self) -> Option<&PatchFilterGroup>
A set of patch filters, typically used for approval rules.
sourcepub fn approval_rules(&self) -> Option<&PatchRuleGroup>
pub fn approval_rules(&self) -> Option<&PatchRuleGroup>
A set of rules defining the approval rules for a patch baseline.
sourcepub fn approved_patches(&self) -> &[String]
pub fn approved_patches(&self) -> &[String]
A list of explicitly approved patches for the baseline.
For information about accepted formats for lists of approved patches and rejected patches, see About package name formats for approved and rejected patch lists in the Amazon Web Services Systems Manager User Guide.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .approved_patches.is_none()
.
sourcepub fn approved_patches_compliance_level(&self) -> Option<&PatchComplianceLevel>
pub fn approved_patches_compliance_level(&self) -> Option<&PatchComplianceLevel>
Defines the compliance level for approved patches. When an approved patch is reported as missing, this value describes the severity of the compliance violation.
sourcepub fn rejected_patches(&self) -> &[String]
pub fn rejected_patches(&self) -> &[String]
A list of explicitly rejected patches for the baseline.
For information about accepted formats for lists of approved patches and rejected patches, see About package name formats for approved and rejected patch lists in the Amazon Web Services Systems Manager User Guide.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .rejected_patches.is_none()
.
sourcepub fn rejected_patches_action(&self) -> Option<&PatchAction>
pub fn rejected_patches_action(&self) -> Option<&PatchAction>
The action for Patch Manager to take on patches included in the RejectedPackages
list. A patch can be allowed only if it is a dependency of another package, or blocked entirely along with packages that include it as a dependency.
sourcepub fn approved_patches_enable_non_security(&self) -> bool
pub fn approved_patches_enable_non_security(&self) -> bool
Indicates whether the list of approved patches includes non-security updates that should be applied to the managed nodes. The default value is false
. Applies to Linux managed nodes only.
sourcepub fn sources(&self) -> &[PatchSource]
pub fn sources(&self) -> &[PatchSource]
Information about the patches to use to update the managed nodes, including target operating systems and source repositories. Applies to Linux managed nodes only.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .sources.is_none()
.
source§impl BaselineOverride
impl BaselineOverride
sourcepub fn builder() -> BaselineOverrideBuilder
pub fn builder() -> BaselineOverrideBuilder
Creates a new builder-style object to manufacture BaselineOverride
.
Trait Implementations§
source§impl Clone for BaselineOverride
impl Clone for BaselineOverride
source§fn clone(&self) -> BaselineOverride
fn clone(&self) -> BaselineOverride
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for BaselineOverride
impl Debug for BaselineOverride
source§impl PartialEq for BaselineOverride
impl PartialEq for BaselineOverride
source§fn eq(&self, other: &BaselineOverride) -> bool
fn eq(&self, other: &BaselineOverride) -> bool
self
and other
values to be equal, and is used
by ==
.