#[non_exhaustive]pub struct ConformancePackEvaluationResult {
pub compliance_type: ConformancePackComplianceType,
pub evaluation_result_identifier: Option<EvaluationResultIdentifier>,
pub config_rule_invoked_time: DateTime,
pub result_recorded_time: DateTime,
pub annotation: Option<String>,
}Expand description
The details of a conformance pack evaluation. Provides Config rule and Amazon Web Services resource type that was evaluated, the compliance of the conformance pack, related time stamps, and supplementary information.
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: ConformancePackComplianceTypeThe compliance type. The allowed values are COMPLIANT and NON_COMPLIANT. INSUFFICIENT_DATA is not supported.
evaluation_result_identifier: Option<EvaluationResultIdentifier>Uniquely identifies an evaluation result.
config_rule_invoked_time: DateTimeThe time when Config rule evaluated Amazon Web Services resource.
result_recorded_time: DateTimeThe time when Config recorded the evaluation result.
annotation: Option<String>Supplementary information about how the evaluation determined the compliance.
Implementations§
source§impl ConformancePackEvaluationResult
impl ConformancePackEvaluationResult
sourcepub fn compliance_type(&self) -> &ConformancePackComplianceType
pub fn compliance_type(&self) -> &ConformancePackComplianceType
The compliance type. The allowed values are COMPLIANT and NON_COMPLIANT. INSUFFICIENT_DATA is not supported.
sourcepub fn evaluation_result_identifier(
&self
) -> Option<&EvaluationResultIdentifier>
pub fn evaluation_result_identifier( &self ) -> Option<&EvaluationResultIdentifier>
Uniquely identifies an evaluation result.
sourcepub fn config_rule_invoked_time(&self) -> &DateTime
pub fn config_rule_invoked_time(&self) -> &DateTime
The time when Config rule evaluated Amazon Web Services resource.
sourcepub fn result_recorded_time(&self) -> &DateTime
pub fn result_recorded_time(&self) -> &DateTime
The time when Config recorded the evaluation result.
sourcepub fn annotation(&self) -> Option<&str>
pub fn annotation(&self) -> Option<&str>
Supplementary information about how the evaluation determined the compliance.
source§impl ConformancePackEvaluationResult
impl ConformancePackEvaluationResult
sourcepub fn builder() -> ConformancePackEvaluationResultBuilder
pub fn builder() -> ConformancePackEvaluationResultBuilder
Creates a new builder-style object to manufacture ConformancePackEvaluationResult.
Trait Implementations§
source§impl Clone for ConformancePackEvaluationResult
impl Clone for ConformancePackEvaluationResult
source§fn clone(&self) -> ConformancePackEvaluationResult
fn clone(&self) -> ConformancePackEvaluationResult
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for ConformancePackEvaluationResult
impl PartialEq for ConformancePackEvaluationResult
source§fn eq(&self, other: &ConformancePackEvaluationResult) -> bool
fn eq(&self, other: &ConformancePackEvaluationResult) -> bool
self and other values to be equal, and is used
by ==.