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

Inherits:
Struct
  • Object
show all
Includes:
Aws::Structure
Defined in:
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 instances 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)

10596
10597
10598
10599
10600
10601
10602
# File 'lib/aws-sdk-ssm/types.rb', line 10596

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)

10596
10597
10598
10599
10600
10601
10602
# File 'lib/aws-sdk-ssm/types.rb', line 10596

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>)

10596
10597
10598
10599
10600
10601
10602
# File 'lib/aws-sdk-ssm/types.rb', line 10596

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