#[non_exhaustive]pub struct AggregateComplianceByConformancePack {
pub conformance_pack_name: Option<String>,
pub compliance: Option<AggregateConformancePackCompliance>,
pub account_id: Option<String>,
pub aws_region: Option<String>,
}Expand description
Provides aggregate compliance of the conformance pack. Indicates whether a conformance pack is compliant based on the name of the conformance pack, account ID, and region.
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.conformance_pack_name: Option<String>The name of the conformance pack.
compliance: Option<AggregateConformancePackCompliance>The compliance status of the conformance pack.
account_id: Option<String>The 12-digit Amazon Web Services account ID of the source account.
aws_region: Option<String>The source Amazon Web Services Region from where the data is aggregated.
Implementations§
source§impl AggregateComplianceByConformancePack
impl AggregateComplianceByConformancePack
sourcepub fn conformance_pack_name(&self) -> Option<&str>
pub fn conformance_pack_name(&self) -> Option<&str>
The name of the conformance pack.
sourcepub fn compliance(&self) -> Option<&AggregateConformancePackCompliance>
pub fn compliance(&self) -> Option<&AggregateConformancePackCompliance>
The compliance status of the conformance pack.
sourcepub fn account_id(&self) -> Option<&str>
pub fn account_id(&self) -> Option<&str>
The 12-digit Amazon Web Services account ID of the source account.
sourcepub fn aws_region(&self) -> Option<&str>
pub fn aws_region(&self) -> Option<&str>
The source Amazon Web Services Region from where the data is aggregated.
source§impl AggregateComplianceByConformancePack
impl AggregateComplianceByConformancePack
sourcepub fn builder() -> AggregateComplianceByConformancePackBuilder
pub fn builder() -> AggregateComplianceByConformancePackBuilder
Creates a new builder-style object to manufacture AggregateComplianceByConformancePack.
Trait Implementations§
source§impl Clone for AggregateComplianceByConformancePack
impl Clone for AggregateComplianceByConformancePack
source§fn clone(&self) -> AggregateComplianceByConformancePack
fn clone(&self) -> AggregateComplianceByConformancePack
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for AggregateComplianceByConformancePack
impl PartialEq for AggregateComplianceByConformancePack
source§fn eq(&self, other: &AggregateComplianceByConformancePack) -> bool
fn eq(&self, other: &AggregateComplianceByConformancePack) -> bool
self and other values to be equal, and is used
by ==.