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

Class: Aws::SSM::Types::PatchRuleGroup

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

{
  patch_rules: [ # required
    {
      patch_filter_group: { # required
        patch_filters: [ # required
          {
            key: "PRODUCT", # required, accepts PRODUCT, CLASSIFICATION, MSRC_SEVERITY, PATCH_ID, SECTION, PRIORITY, SEVERITY
            values: ["PatchFilterValue"], # required
          },
        ],
      },
      compliance_level: "CRITICAL", # accepts CRITICAL, HIGH, MEDIUM, LOW, INFORMATIONAL, UNSPECIFIED
      approve_after_days: 1, # required
    },
  ],
}

A set of rules defining the approval rules for a patch baseline.

Instance Attribute Summary collapse

Instance Attribute Details

#patch_rulesArray<Types::PatchRule>

The rules that make up the rule group.

Returns:



8291
8292
8293
8294
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 8291

class PatchRuleGroup < Struct.new(
  :patch_rules)
  include Aws::Structure
end