Struct aws_sdk_config::types::Compliance
source · #[non_exhaustive]pub struct Compliance { /* private fields */ }Expand description
Indicates whether an Amazon Web Services resource or Config rule is compliant and provides the number of contributors that affect the compliance.
Implementations§
source§impl Compliance
impl Compliance
sourcepub fn compliance_type(&self) -> Option<&ComplianceType>
pub fn compliance_type(&self) -> Option<&ComplianceType>
Indicates whether an Amazon Web Services resource or Config rule is compliant.
A resource is compliant if it complies with all of the Config rules that evaluate it. A resource is noncompliant if it does not comply with one or more of these rules.
A rule is compliant if all of the resources that the rule evaluates comply with it. A rule is noncompliant if any of these resources do not comply.
Config returns the INSUFFICIENT_DATA value when no evaluation results are available for the Amazon Web Services resource or Config rule.
For the Compliance data type, Config supports only COMPLIANT, NON_COMPLIANT, and INSUFFICIENT_DATA values. Config does not support the NOT_APPLICABLE value for the Compliance data type.
sourcepub fn compliance_contributor_count(
&self
) -> Option<&ComplianceContributorCount>
pub fn compliance_contributor_count( &self ) -> Option<&ComplianceContributorCount>
The number of Amazon Web Services resources or Config rules that cause a result of NON_COMPLIANT, up to a maximum number.
source§impl Compliance
impl Compliance
sourcepub fn builder() -> ComplianceBuilder
pub fn builder() -> ComplianceBuilder
Creates a new builder-style object to manufacture Compliance.
Trait Implementations§
source§impl Clone for Compliance
impl Clone for Compliance
source§fn clone(&self) -> Compliance
fn clone(&self) -> Compliance
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for Compliance
impl Debug for Compliance
source§impl PartialEq<Compliance> for Compliance
impl PartialEq<Compliance> for Compliance
source§fn eq(&self, other: &Compliance) -> bool
fn eq(&self, other: &Compliance) -> bool
self and other values to be equal, and is used
by ==.