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

Class: Aws::SSM::Types::ComplianceItemEntry

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

Overview

Note:

When making an API call, you may pass ComplianceItemEntry data as a hash:

{
  id: "ComplianceItemId",
  title: "ComplianceItemTitle",
  severity: "CRITICAL", # required, accepts CRITICAL, HIGH, MEDIUM, LOW, INFORMATIONAL, UNSPECIFIED
  status: "COMPLIANT", # required, accepts COMPLIANT, NON_COMPLIANT
  details: {
    "AttributeName" => "AttributeValue",
  },
}

Information about a compliance item.

Instance Attribute Summary collapse

Instance Attribute Details

#detailsHash<String,String>

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

Returns:

  • (Hash<String,String>)


1260
1261
1262
1263
1264
1265
1266
1267
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 1260

class ComplianceItemEntry < Struct.new(
  :id,
  :title,
  :severity,
  :status,
  :details)
  include Aws::Structure
end

#idString

The compliance item ID. For example, if the compliance item is a Windows patch, the ID could be the number of the KB article.

Returns:

  • (String)


1260
1261
1262
1263
1264
1265
1266
1267
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 1260

class ComplianceItemEntry < Struct.new(
  :id,
  :title,
  :severity,
  :status,
  :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)


1260
1261
1262
1263
1264
1265
1266
1267
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 1260

class ComplianceItemEntry < Struct.new(
  :id,
  :title,
  :severity,
  :status,
  :details)
  include Aws::Structure
end

#statusString

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

Returns:

  • (String)


1260
1261
1262
1263
1264
1265
1266
1267
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 1260

class ComplianceItemEntry < Struct.new(
  :id,
  :title,
  :severity,
  :status,
  :details)
  include Aws::Structure
end

#titleString

The title of 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. Here's an example: Security Update for Active Directory Federation Services.

Returns:

  • (String)


1260
1261
1262
1263
1264
1265
1266
1267
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 1260

class ComplianceItemEntry < Struct.new(
  :id,
  :title,
  :severity,
  :status,
  :details)
  include Aws::Structure
end