#[non_exhaustive]pub struct AggregateConformancePackCompliance {
pub compliance_type: Option<ConformancePackComplianceType>,
pub compliant_rule_count: i32,
pub non_compliant_rule_count: i32,
pub total_rule_count: i32,
}Expand description
Provides the number of compliant and noncompliant rules within a conformance pack. Also provides the compliance status of the conformance pack and the total rule count which includes compliant rules, noncompliant rules, and rules that cannot be evaluated due to insufficient data.
A conformance pack is compliant if all of the rules in a conformance packs are compliant. It is noncompliant if any of the rules are not compliant. The compliance status of a conformance pack is INSUFFICIENT_DATA only if all rules within a conformance pack cannot be evaluated due to insufficient data. If some of the rules in a conformance pack are compliant but the compliance status of other rules in that same conformance pack is INSUFFICIENT_DATA, the conformance pack shows compliant.
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.compliance_type: Option<ConformancePackComplianceType>The compliance status of the conformance pack.
compliant_rule_count: i32The number of compliant Config Rules.
non_compliant_rule_count: i32The number of noncompliant Config Rules.
total_rule_count: i32Total number of compliant rules, noncompliant rules, and the rules that do not have any applicable resources to evaluate upon resulting in insufficient data.
Implementations§
source§impl AggregateConformancePackCompliance
impl AggregateConformancePackCompliance
sourcepub fn compliance_type(&self) -> Option<&ConformancePackComplianceType>
pub fn compliance_type(&self) -> Option<&ConformancePackComplianceType>
The compliance status of the conformance pack.
sourcepub fn compliant_rule_count(&self) -> i32
pub fn compliant_rule_count(&self) -> i32
The number of compliant Config Rules.
sourcepub fn non_compliant_rule_count(&self) -> i32
pub fn non_compliant_rule_count(&self) -> i32
The number of noncompliant Config Rules.
sourcepub fn total_rule_count(&self) -> i32
pub fn total_rule_count(&self) -> i32
Total number of compliant rules, noncompliant rules, and the rules that do not have any applicable resources to evaluate upon resulting in insufficient data.
source§impl AggregateConformancePackCompliance
impl AggregateConformancePackCompliance
sourcepub fn builder() -> AggregateConformancePackComplianceBuilder
pub fn builder() -> AggregateConformancePackComplianceBuilder
Creates a new builder-style object to manufacture AggregateConformancePackCompliance.
Trait Implementations§
source§impl Clone for AggregateConformancePackCompliance
impl Clone for AggregateConformancePackCompliance
source§fn clone(&self) -> AggregateConformancePackCompliance
fn clone(&self) -> AggregateConformancePackCompliance
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for AggregateConformancePackCompliance
impl PartialEq for AggregateConformancePackCompliance
source§fn eq(&self, other: &AggregateConformancePackCompliance) -> bool
fn eq(&self, other: &AggregateConformancePackCompliance) -> bool
self and other values to be equal, and is used
by ==.