class Amazonite::Ssm::InstancePatchStateFilter

Overview

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:

Included Modules

Defined in:

ssm/instance_patch_state_filter.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(key : String, values : Array(String), type : InstancePatchStateOperatorType) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def key : String #

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

  • InstalledCount

  • InstalledOtherCount

  • InstalledPendingRebootCount

  • InstalledRejectedCount

  • MissingCount

  • FailedCount

  • UnreportedNotApplicableCount

  • NotApplicableCount


[View source]
def key=(key : String) #

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

  • InstalledCount

  • InstalledOtherCount

  • InstalledPendingRebootCount

  • InstalledRejectedCount

  • MissingCount

  • FailedCount

  • UnreportedNotApplicableCount

  • NotApplicableCount


[View source]

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


[View source]
def type=(type : InstancePatchStateOperatorType) #

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


[View source]
def validate! : Nil #

[View source]
def values : Array(String) #

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


[View source]
def values=(values : Array(String)) #

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


[View source]