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

Inherits:
Struct
  • Object
show all
Includes:
Aws::Structure
Defined in:
lib/aws-sdk-ssm/types.rb

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, etc.

Instance Attribute Summary collapse

Instance Attribute Details

#compliance_typeString

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

Returns:

  • (String)


1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
# File 'lib/aws-sdk-ssm/types.rb', line 1980

class ComplianceItem < Struct.new(
  :compliance_type,
  :resource_type,
  :resource_id,
  :id,
  :title,
  :status,
  :severity,
  :execution_summary,
  :details)
  include Aws::Structure
end

#detailsHash<String,String>

A “Key”: “Value” tag combination for the compliance item.

Returns:

  • (Hash<String,String>)


1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
# File 'lib/aws-sdk-ssm/types.rb', line 1980

class ComplianceItem < Struct.new(
  :compliance_type,
  :resource_type,
  :resource_id,
  :id,
  :title,
  :status,
  :severity,
  :execution_summary,
  :details)
  include Aws::Structure
end

#execution_summaryTypes::ComplianceExecutionSummary

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



1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
# File 'lib/aws-sdk-ssm/types.rb', line 1980

class ComplianceItem < Struct.new(
  :compliance_type,
  :resource_type,
  :resource_id,
  :id,
  :title,
  :status,
  :severity,
  :execution_summary,
  :details)
  include Aws::Structure
end

#idString

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)


1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
# File 'lib/aws-sdk-ssm/types.rb', line 1980

class ComplianceItem < Struct.new(
  :compliance_type,
  :resource_type,
  :resource_id,
  :id,
  :title,
  :status,
  :severity,
  :execution_summary,
  :details)
  include Aws::Structure
end

#resource_idString

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

Returns:

  • (String)


1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
# File 'lib/aws-sdk-ssm/types.rb', line 1980

class ComplianceItem < Struct.new(
  :compliance_type,
  :resource_type,
  :resource_id,
  :id,
  :title,
  :status,
  :severity,
  :execution_summary,
  :details)
  include Aws::Structure
end

#resource_typeString

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

Returns:

  • (String)


1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
# File 'lib/aws-sdk-ssm/types.rb', line 1980

class ComplianceItem < Struct.new(
  :compliance_type,
  :resource_type,
  :resource_id,
  :id,
  :title,
  :status,
  :severity,
  :execution_summary,
  :details)
  include Aws::Structure
end

#severityString

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

Returns:

  • (String)


1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
# File 'lib/aws-sdk-ssm/types.rb', line 1980

class ComplianceItem < Struct.new(
  :compliance_type,
  :resource_type,
  :resource_id,
  :id,
  :title,
  :status,
  :severity,
  :execution_summary,
  :details)
  include Aws::Structure
end

#statusString

The status of the compliance item. An item is either COMPLIANT or NON_COMPLIANT.

Returns:

  • (String)


1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
# File 'lib/aws-sdk-ssm/types.rb', line 1980

class ComplianceItem < Struct.new(
  :compliance_type,
  :resource_type,
  :resource_id,
  :id,
  :title,
  :status,
  :severity,
  :execution_summary,
  :details)
  include Aws::Structure
end

#titleString

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)


1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
# File 'lib/aws-sdk-ssm/types.rb', line 1980

class ComplianceItem < Struct.new(
  :compliance_type,
  :resource_type,
  :resource_id,
  :id,
  :title,
  :status,
  :severity,
  :execution_summary,
  :details)
  include Aws::Structure
end