You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::SSM::Types::ComplianceItem

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

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.

Instance Attribute Summary collapse

Instance Attribute Details

#compliance_type ⇒ String

The compliance type. For example, Association (for a State Manager association), Patch, or Custom:string are all valid compliance types.

Returns:

  • (String) —

    The compliance type.

#details ⇒ Hash<String,String>

A \"Key\": \"Value\" tag combination for the compliance item.

Returns:

  • (Hash<String,String>) —

    A \"Key\": \"Value\" tag combination for the compliance item.

#execution_summary ⇒ Types::ComplianceExecutionSummary

A summary for the compliance item. The summary includes an execution ID, the execution type (for example, command), and the execution time.

Returns:

#id ⇒ 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.

Returns:

  • (String) —

    An ID for the compliance item.

#resource_id ⇒ String

An ID for the resource. For a managed instance, this is the instance ID.

Returns:

  • (String) —

    An ID for the resource.

#resource_type ⇒ String

The type of resource. ManagedInstance is currently the only supported resource type.

Returns:

  • (String) —

    The type of resource.

#severity ⇒ String

The severity of the compliance status. Severity can be one of the following: Critical, High, Medium, Low, Informational, Unspecified.

Possible values:

  • CRITICAL
  • HIGH
  • MEDIUM
  • LOW
  • INFORMATIONAL
  • UNSPECIFIED

Returns:

  • (String) —

    The severity of the compliance status.

#status ⇒ String

The status of the compliance item. An item is either COMPLIANT, NON_COMPLIANT, or an empty string (for Windows patches that aren\'t applicable).

Possible values:

  • COMPLIANT
  • NON_COMPLIANT

Returns:

  • (String) —

    The status of the compliance item.

#title ⇒ 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.

Returns:

  • (String) —

    A title for the compliance item.