#[non_exhaustive]pub struct AwsSsmComplianceSummary {Show 18 fields
pub status: Option<String>,
pub compliant_critical_count: Option<i32>,
pub compliant_high_count: Option<i32>,
pub compliant_medium_count: Option<i32>,
pub execution_type: Option<String>,
pub non_compliant_critical_count: Option<i32>,
pub compliant_informational_count: Option<i32>,
pub non_compliant_informational_count: Option<i32>,
pub compliant_unspecified_count: Option<i32>,
pub non_compliant_low_count: Option<i32>,
pub non_compliant_high_count: Option<i32>,
pub compliant_low_count: Option<i32>,
pub compliance_type: Option<String>,
pub patch_baseline_id: Option<String>,
pub overall_severity: Option<String>,
pub non_compliant_medium_count: Option<i32>,
pub non_compliant_unspecified_count: Option<i32>,
pub patch_group: Option<String>,
}Expand description
Provides the details about the compliance status for a patch.
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.status: Option<String>The current patch compliance status. Valid values are as follows:
-
COMPLIANT -
NON_COMPLIANT -
UNSPECIFIED_DATA
compliant_critical_count: Option<i32>For the patches that are compliant, the number that have a severity of CRITICAL.
compliant_high_count: Option<i32>For the patches that are compliant, the number that have a severity of HIGH.
compliant_medium_count: Option<i32>For the patches that are compliant, the number that have a severity of MEDIUM.
execution_type: Option<String>The type of execution that was used determine compliance.
non_compliant_critical_count: Option<i32>For the patch items that are noncompliant, the number of items that have a severity of CRITICAL.
compliant_informational_count: Option<i32>For the patches that are compliant, the number that have a severity of INFORMATIONAL.
non_compliant_informational_count: Option<i32>For the patches that are noncompliant, the number that have a severity of INFORMATIONAL.
compliant_unspecified_count: Option<i32>For the patches that are compliant, the number that have a severity of UNSPECIFIED.
non_compliant_low_count: Option<i32>For the patches that are noncompliant, the number that have a severity of LOW.
non_compliant_high_count: Option<i32>For the patches that are noncompliant, the number that have a severity of HIGH.
compliant_low_count: Option<i32>For the patches that are compliant, the number that have a severity of LOW.
compliance_type: Option<String>The type of resource for which the compliance was determined. For AwsSsmPatchCompliance, ComplianceType is Patch.
patch_baseline_id: Option<String>The identifier of the patch baseline. The patch baseline lists the patches that are approved for installation.
overall_severity: Option<String>The highest severity for the patches. Valid values are as follows:
-
CRITICAL -
HIGH -
MEDIUM -
LOW -
INFORMATIONAL -
UNSPECIFIED
non_compliant_medium_count: Option<i32>For the patches that are noncompliant, the number that have a severity of MEDIUM.
non_compliant_unspecified_count: Option<i32>For the patches that are noncompliant, the number that have a severity of UNSPECIFIED.
patch_group: Option<String>The identifier of the patch group for which compliance was determined. A patch group uses tags to group EC2 instances that should have the same patch compliance.
Implementations§
source§impl AwsSsmComplianceSummary
impl AwsSsmComplianceSummary
sourcepub fn status(&self) -> Option<&str>
pub fn status(&self) -> Option<&str>
The current patch compliance status. Valid values are as follows:
-
COMPLIANT -
NON_COMPLIANT -
UNSPECIFIED_DATA
sourcepub fn compliant_critical_count(&self) -> Option<i32>
pub fn compliant_critical_count(&self) -> Option<i32>
For the patches that are compliant, the number that have a severity of CRITICAL.
sourcepub fn compliant_high_count(&self) -> Option<i32>
pub fn compliant_high_count(&self) -> Option<i32>
For the patches that are compliant, the number that have a severity of HIGH.
sourcepub fn compliant_medium_count(&self) -> Option<i32>
pub fn compliant_medium_count(&self) -> Option<i32>
For the patches that are compliant, the number that have a severity of MEDIUM.
sourcepub fn execution_type(&self) -> Option<&str>
pub fn execution_type(&self) -> Option<&str>
The type of execution that was used determine compliance.
sourcepub fn non_compliant_critical_count(&self) -> Option<i32>
pub fn non_compliant_critical_count(&self) -> Option<i32>
For the patch items that are noncompliant, the number of items that have a severity of CRITICAL.
sourcepub fn compliant_informational_count(&self) -> Option<i32>
pub fn compliant_informational_count(&self) -> Option<i32>
For the patches that are compliant, the number that have a severity of INFORMATIONAL.
sourcepub fn non_compliant_informational_count(&self) -> Option<i32>
pub fn non_compliant_informational_count(&self) -> Option<i32>
For the patches that are noncompliant, the number that have a severity of INFORMATIONAL.
sourcepub fn compliant_unspecified_count(&self) -> Option<i32>
pub fn compliant_unspecified_count(&self) -> Option<i32>
For the patches that are compliant, the number that have a severity of UNSPECIFIED.
sourcepub fn non_compliant_low_count(&self) -> Option<i32>
pub fn non_compliant_low_count(&self) -> Option<i32>
For the patches that are noncompliant, the number that have a severity of LOW.
sourcepub fn non_compliant_high_count(&self) -> Option<i32>
pub fn non_compliant_high_count(&self) -> Option<i32>
For the patches that are noncompliant, the number that have a severity of HIGH.
sourcepub fn compliant_low_count(&self) -> Option<i32>
pub fn compliant_low_count(&self) -> Option<i32>
For the patches that are compliant, the number that have a severity of LOW.
sourcepub fn compliance_type(&self) -> Option<&str>
pub fn compliance_type(&self) -> Option<&str>
The type of resource for which the compliance was determined. For AwsSsmPatchCompliance, ComplianceType is Patch.
sourcepub fn patch_baseline_id(&self) -> Option<&str>
pub fn patch_baseline_id(&self) -> Option<&str>
The identifier of the patch baseline. The patch baseline lists the patches that are approved for installation.
sourcepub fn overall_severity(&self) -> Option<&str>
pub fn overall_severity(&self) -> Option<&str>
The highest severity for the patches. Valid values are as follows:
-
CRITICAL -
HIGH -
MEDIUM -
LOW -
INFORMATIONAL -
UNSPECIFIED
sourcepub fn non_compliant_medium_count(&self) -> Option<i32>
pub fn non_compliant_medium_count(&self) -> Option<i32>
For the patches that are noncompliant, the number that have a severity of MEDIUM.
sourcepub fn non_compliant_unspecified_count(&self) -> Option<i32>
pub fn non_compliant_unspecified_count(&self) -> Option<i32>
For the patches that are noncompliant, the number that have a severity of UNSPECIFIED.
sourcepub fn patch_group(&self) -> Option<&str>
pub fn patch_group(&self) -> Option<&str>
The identifier of the patch group for which compliance was determined. A patch group uses tags to group EC2 instances that should have the same patch compliance.
source§impl AwsSsmComplianceSummary
impl AwsSsmComplianceSummary
sourcepub fn builder() -> AwsSsmComplianceSummaryBuilder
pub fn builder() -> AwsSsmComplianceSummaryBuilder
Creates a new builder-style object to manufacture AwsSsmComplianceSummary.
Trait Implementations§
source§impl Clone for AwsSsmComplianceSummary
impl Clone for AwsSsmComplianceSummary
source§fn clone(&self) -> AwsSsmComplianceSummary
fn clone(&self) -> AwsSsmComplianceSummary
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for AwsSsmComplianceSummary
impl Debug for AwsSsmComplianceSummary
source§impl PartialEq for AwsSsmComplianceSummary
impl PartialEq for AwsSsmComplianceSummary
source§fn eq(&self, other: &AwsSsmComplianceSummary) -> bool
fn eq(&self, other: &AwsSsmComplianceSummary) -> bool
self and other values to be equal, and is used
by ==.