Struct aws_sdk_ssm::types::ResourceComplianceSummaryItem
source · #[non_exhaustive]pub struct ResourceComplianceSummaryItem {
pub compliance_type: Option<String>,
pub resource_type: Option<String>,
pub resource_id: Option<String>,
pub status: Option<ComplianceStatus>,
pub overall_severity: Option<ComplianceSeverity>,
pub execution_summary: Option<ComplianceExecutionSummary>,
pub compliant_summary: Option<CompliantSummary>,
pub non_compliant_summary: Option<NonCompliantSummary>,
}
Expand description
Compliance summary information for a specific resource.
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<String>
The compliance type.
resource_type: Option<String>
The resource type.
resource_id: Option<String>
The resource ID.
status: Option<ComplianceStatus>
The compliance status for the resource.
overall_severity: Option<ComplianceSeverity>
The highest severity item found for the resource. The resource is compliant for this item.
execution_summary: Option<ComplianceExecutionSummary>
Information about the execution.
compliant_summary: Option<CompliantSummary>
A list of items that are compliant for the resource.
non_compliant_summary: Option<NonCompliantSummary>
A list of items that aren't compliant for the resource.
Implementations§
source§impl ResourceComplianceSummaryItem
impl ResourceComplianceSummaryItem
sourcepub fn compliance_type(&self) -> Option<&str>
pub fn compliance_type(&self) -> Option<&str>
The compliance type.
sourcepub fn resource_type(&self) -> Option<&str>
pub fn resource_type(&self) -> Option<&str>
The resource type.
sourcepub fn resource_id(&self) -> Option<&str>
pub fn resource_id(&self) -> Option<&str>
The resource ID.
sourcepub fn status(&self) -> Option<&ComplianceStatus>
pub fn status(&self) -> Option<&ComplianceStatus>
The compliance status for the resource.
sourcepub fn overall_severity(&self) -> Option<&ComplianceSeverity>
pub fn overall_severity(&self) -> Option<&ComplianceSeverity>
The highest severity item found for the resource. The resource is compliant for this item.
sourcepub fn execution_summary(&self) -> Option<&ComplianceExecutionSummary>
pub fn execution_summary(&self) -> Option<&ComplianceExecutionSummary>
Information about the execution.
sourcepub fn compliant_summary(&self) -> Option<&CompliantSummary>
pub fn compliant_summary(&self) -> Option<&CompliantSummary>
A list of items that are compliant for the resource.
sourcepub fn non_compliant_summary(&self) -> Option<&NonCompliantSummary>
pub fn non_compliant_summary(&self) -> Option<&NonCompliantSummary>
A list of items that aren't compliant for the resource.
source§impl ResourceComplianceSummaryItem
impl ResourceComplianceSummaryItem
sourcepub fn builder() -> ResourceComplianceSummaryItemBuilder
pub fn builder() -> ResourceComplianceSummaryItemBuilder
Creates a new builder-style object to manufacture ResourceComplianceSummaryItem
.
Trait Implementations§
source§impl Clone for ResourceComplianceSummaryItem
impl Clone for ResourceComplianceSummaryItem
source§fn clone(&self) -> ResourceComplianceSummaryItem
fn clone(&self) -> ResourceComplianceSummaryItem
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for ResourceComplianceSummaryItem
impl PartialEq for ResourceComplianceSummaryItem
source§fn eq(&self, other: &ResourceComplianceSummaryItem) -> bool
fn eq(&self, other: &ResourceComplianceSummaryItem) -> bool
self
and other
values to be equal, and is used
by ==
.