AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Class: Aws::SSM::Types::InstancePatchStateFilter

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 InstancePatchStateFilter data as a hash:

{
  key: "InstancePatchStateFilterKey", # required
  values: ["InstancePatchStateFilterValue"], # required
  type: "Equal", # required, accepts Equal, NotEqual, LessThan, GreaterThan
}

Defines a filter used in DescribeInstancePatchStatesForPatchGroup to scope down the information returned by the API.

Example: To filter for all managed nodes in a patch group having more than three patches with a FailedCount status, use the following for the filter:

  • Value for Key: FailedCount

  • Value for Type: GreaterThan

  • Value for Values: 3

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#keyString

The key for the filter. Supported values include the following:

  • InstalledCount

  • InstalledOtherCount

  • InstalledPendingRebootCount

  • InstalledRejectedCount

  • MissingCount

  • FailedCount

  • UnreportedNotApplicableCount

  • NotApplicableCount

Returns:

  • (String)


10681
10682
10683
10684
10685
10686
10687
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 10681

class InstancePatchStateFilter < Struct.new(
  :key,
  :values,
  :type)
  SENSITIVE = []
  include Aws::Structure
end

#typeString

The type of comparison that should be performed for the value.

Returns:

  • (String)


10681
10682
10683
10684
10685
10686
10687
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 10681

class InstancePatchStateFilter < Struct.new(
  :key,
  :values,
  :type)
  SENSITIVE = []
  include Aws::Structure
end

#valuesArray<String>

The value for the filter. Must be an integer greater than or equal to 0.

Returns:

  • (Array<String>)


10681
10682
10683
10684
10685
10686
10687
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 10681

class InstancePatchStateFilter < Struct.new(
  :key,
  :values,
  :type)
  SENSITIVE = []
  include Aws::Structure
end