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


10666
10667
10668
10669
10670
10671
10672
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 10666

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)


10666
10667
10668
10669
10670
10671
10672
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 10666

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


10666
10667
10668
10669
10670
10671
10672
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 10666

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