Struct aws_sdk_ssm::model::ComplianceItem [−][src]
#[non_exhaustive]pub struct ComplianceItem {
pub compliance_type: Option<String>,
pub resource_type: Option<String>,
pub resource_id: Option<String>,
pub id: Option<String>,
pub title: Option<String>,
pub status: Option<ComplianceStatus>,
pub severity: Option<ComplianceSeverity>,
pub execution_summary: Option<ComplianceExecutionSummary>,
pub details: Option<HashMap<String, String>>,
}
Expand description
Information about the compliance as defined by the resource type. For example, for a patch
resource type, Items
includes information about the PatchSeverity, Classification,
and so on.
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. For example, Association (for a State Manager association), Patch, or
Custom:string
are all valid compliance types.
resource_type: Option<String>
The type of resource. ManagedInstance
is currently the only supported resource
type.
resource_id: Option<String>
An ID for the resource. For a managed instance, this is the instance ID.
id: Option<String>
An ID for the compliance item. For example, if the compliance item is a Windows patch, the ID could be the number of the KB article; for example: KB4010320.
title: Option<String>
A title for the compliance item. For example, if the compliance item is a Windows patch, the title could be the title of the KB article for the patch; for example: Security Update for Active Directory Federation Services.
status: Option<ComplianceStatus>
The status of the compliance item. An item is either COMPLIANT, NON_COMPLIANT, or an empty string (for Windows patches that aren't applicable).
severity: Option<ComplianceSeverity>
The severity of the compliance status. Severity can be one of the following: Critical, High, Medium, Low, Informational, Unspecified.
execution_summary: Option<ComplianceExecutionSummary>
A summary for the compliance item. The summary includes an execution ID, the execution type (for example, command), and the execution time.
details: Option<HashMap<String, String>>
A "Key": "Value" tag combination for the compliance item.
Implementations
Creates a new builder-style object to manufacture ComplianceItem
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ComplianceItem
impl Send for ComplianceItem
impl Sync for ComplianceItem
impl Unpin for ComplianceItem
impl UnwindSafe for ComplianceItem
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more