Struct aws_sdk_config::types::ExternalEvaluation
source · #[non_exhaustive]pub struct ExternalEvaluation {
pub compliance_resource_type: String,
pub compliance_resource_id: String,
pub compliance_type: ComplianceType,
pub annotation: Option<String>,
pub ordering_timestamp: DateTime,
}Expand description
Identifies an Amazon Web Services resource and indicates whether it complies with the Config rule that it was evaluated against.
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_resource_type: StringThe evaluated compliance resource type. Config accepts AWS::::Account resource type.
compliance_resource_id: StringThe evaluated compliance resource ID. Config accepts only Amazon Web Services account ID.
compliance_type: ComplianceTypeThe compliance of the Amazon Web Services resource. The valid values are COMPLIANT, NON_COMPLIANT, and NOT_APPLICABLE.
annotation: Option<String>Supplementary information about the reason of compliance. For example, this task was completed on a specific date.
ordering_timestamp: DateTimeThe time when the compliance was recorded.
Implementations§
source§impl ExternalEvaluation
impl ExternalEvaluation
sourcepub fn compliance_resource_type(&self) -> &str
pub fn compliance_resource_type(&self) -> &str
The evaluated compliance resource type. Config accepts AWS::::Account resource type.
sourcepub fn compliance_resource_id(&self) -> &str
pub fn compliance_resource_id(&self) -> &str
The evaluated compliance resource ID. Config accepts only Amazon Web Services account ID.
sourcepub fn compliance_type(&self) -> &ComplianceType
pub fn compliance_type(&self) -> &ComplianceType
The compliance of the Amazon Web Services resource. The valid values are COMPLIANT, NON_COMPLIANT, and NOT_APPLICABLE.
sourcepub fn annotation(&self) -> Option<&str>
pub fn annotation(&self) -> Option<&str>
Supplementary information about the reason of compliance. For example, this task was completed on a specific date.
sourcepub fn ordering_timestamp(&self) -> &DateTime
pub fn ordering_timestamp(&self) -> &DateTime
The time when the compliance was recorded.
source§impl ExternalEvaluation
impl ExternalEvaluation
sourcepub fn builder() -> ExternalEvaluationBuilder
pub fn builder() -> ExternalEvaluationBuilder
Creates a new builder-style object to manufacture ExternalEvaluation.
Trait Implementations§
source§impl Clone for ExternalEvaluation
impl Clone for ExternalEvaluation
source§fn clone(&self) -> ExternalEvaluation
fn clone(&self) -> ExternalEvaluation
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ExternalEvaluation
impl Debug for ExternalEvaluation
source§impl PartialEq for ExternalEvaluation
impl PartialEq for ExternalEvaluation
source§fn eq(&self, other: &ExternalEvaluation) -> bool
fn eq(&self, other: &ExternalEvaluation) -> bool
self and other values to be equal, and is used
by ==.