| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.SSM.Types.ComplianceItem
Description
Synopsis
- data ComplianceItem = ComplianceItem' {}
- newComplianceItem :: ComplianceItem
- complianceItem_complianceType :: Lens' ComplianceItem (Maybe Text)
- complianceItem_details :: Lens' ComplianceItem (Maybe (HashMap Text Text))
- complianceItem_executionSummary :: Lens' ComplianceItem (Maybe ComplianceExecutionSummary)
- complianceItem_id :: Lens' ComplianceItem (Maybe Text)
- complianceItem_resourceId :: Lens' ComplianceItem (Maybe Text)
- complianceItem_resourceType :: Lens' ComplianceItem (Maybe Text)
- complianceItem_severity :: Lens' ComplianceItem (Maybe ComplianceSeverity)
- complianceItem_status :: Lens' ComplianceItem (Maybe ComplianceStatus)
- complianceItem_title :: Lens' ComplianceItem (Maybe Text)
Documentation
data ComplianceItem Source #
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.
See: newComplianceItem smart constructor.
Constructors
| ComplianceItem' | |
Fields
| |
Instances
newComplianceItem :: ComplianceItem Source #
Create a value of ComplianceItem with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:complianceType:ComplianceItem', complianceItem_complianceType - The compliance type. For example, Association (for a State Manager
association), Patch, or Custom:string are all valid compliance types.
$sel:details:ComplianceItem', complianceItem_details - A "Key": "Value" tag combination for the compliance item.
$sel:executionSummary:ComplianceItem', complianceItem_executionSummary - A summary for the compliance item. The summary includes an execution ID,
the execution type (for example, command), and the execution time.
$sel:id:ComplianceItem', complianceItem_id - 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.
$sel:resourceId:ComplianceItem', complianceItem_resourceId - An ID for the resource. For a managed node, this is the node ID.
$sel:resourceType:ComplianceItem', complianceItem_resourceType - The type of resource. ManagedInstance is currently the only supported
resource type.
$sel:severity:ComplianceItem', complianceItem_severity - The severity of the compliance status. Severity can be one of the
following: Critical, High, Medium, Low, Informational, Unspecified.
$sel:status:ComplianceItem', complianceItem_status - The status of the compliance item. An item is either COMPLIANT,
NON_COMPLIANT, or an empty string (for Windows patches that aren't
applicable).
$sel:title:ComplianceItem', complianceItem_title - 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.
complianceItem_complianceType :: Lens' ComplianceItem (Maybe Text) Source #
The compliance type. For example, Association (for a State Manager
association), Patch, or Custom:string are all valid compliance types.
complianceItem_details :: Lens' ComplianceItem (Maybe (HashMap Text Text)) Source #
A "Key": "Value" tag combination for the compliance item.
complianceItem_executionSummary :: Lens' ComplianceItem (Maybe ComplianceExecutionSummary) Source #
A summary for the compliance item. The summary includes an execution ID, the execution type (for example, command), and the execution time.
complianceItem_id :: Lens' ComplianceItem (Maybe Text) Source #
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.
complianceItem_resourceId :: Lens' ComplianceItem (Maybe Text) Source #
An ID for the resource. For a managed node, this is the node ID.
complianceItem_resourceType :: Lens' ComplianceItem (Maybe Text) Source #
The type of resource. ManagedInstance is currently the only supported
resource type.
complianceItem_severity :: Lens' ComplianceItem (Maybe ComplianceSeverity) Source #
The severity of the compliance status. Severity can be one of the following: Critical, High, Medium, Low, Informational, Unspecified.
complianceItem_status :: Lens' ComplianceItem (Maybe ComplianceStatus) Source #
The status of the compliance item. An item is either COMPLIANT, NON_COMPLIANT, or an empty string (for Windows patches that aren't applicable).
complianceItem_title :: Lens' ComplianceItem (Maybe Text) Source #
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.