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

Class: Aws::SSM::Types::UpdatePatchBaselineRequest

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

{
  baseline_id: "BaselineId", # required
  name: "BaselineName",
  global_filters: {
    patch_filters: [ # required
      {
        key: "PRODUCT", # required, accepts PRODUCT, CLASSIFICATION, MSRC_SEVERITY, PATCH_ID, SECTION, PRIORITY, SEVERITY
        values: ["PatchFilterValue"], # required
      },
    ],
  },
  approval_rules: {
    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
      },
    ],
  },
  approved_patches: ["PatchId"],
  approved_patches_compliance_level: "CRITICAL", # accepts CRITICAL, HIGH, MEDIUM, LOW, INFORMATIONAL, UNSPECIFIED
  rejected_patches: ["PatchId"],
  description: "BaselineDescription",
}

Instance Attribute Summary collapse

Instance Attribute Details

#approval_rulesTypes::PatchRuleGroup

A set of rules used to include patches in the baseline.



9966
9967
9968
9969
9970
9971
9972
9973
9974
9975
9976
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 9966

class UpdatePatchBaselineRequest < Struct.new(
  :baseline_id,
  :name,
  :global_filters,
  :approval_rules,
  :approved_patches,
  :approved_patches_compliance_level,
  :rejected_patches,
  :description)
  include Aws::Structure
end

#approved_patchesArray<String>

A list of explicitly approved patches for the baseline.

Returns:

  • (Array<String>)


9966
9967
9968
9969
9970
9971
9972
9973
9974
9975
9976
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 9966

class UpdatePatchBaselineRequest < Struct.new(
  :baseline_id,
  :name,
  :global_filters,
  :approval_rules,
  :approved_patches,
  :approved_patches_compliance_level,
  :rejected_patches,
  :description)
  include Aws::Structure
end

#approved_patches_compliance_levelString

Assigns a new compliance severity level to an existing patch baseline.

Returns:

  • (String)


9966
9967
9968
9969
9970
9971
9972
9973
9974
9975
9976
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 9966

class UpdatePatchBaselineRequest < Struct.new(
  :baseline_id,
  :name,
  :global_filters,
  :approval_rules,
  :approved_patches,
  :approved_patches_compliance_level,
  :rejected_patches,
  :description)
  include Aws::Structure
end

#baseline_idString

The ID of the patch baseline to update.

Returns:

  • (String)


9966
9967
9968
9969
9970
9971
9972
9973
9974
9975
9976
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 9966

class UpdatePatchBaselineRequest < Struct.new(
  :baseline_id,
  :name,
  :global_filters,
  :approval_rules,
  :approved_patches,
  :approved_patches_compliance_level,
  :rejected_patches,
  :description)
  include Aws::Structure
end

#descriptionString

A description of the patch baseline.

Returns:

  • (String)


9966
9967
9968
9969
9970
9971
9972
9973
9974
9975
9976
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 9966

class UpdatePatchBaselineRequest < Struct.new(
  :baseline_id,
  :name,
  :global_filters,
  :approval_rules,
  :approved_patches,
  :approved_patches_compliance_level,
  :rejected_patches,
  :description)
  include Aws::Structure
end

#global_filtersTypes::PatchFilterGroup

A set of global filters used to exclude patches from the baseline.



9966
9967
9968
9969
9970
9971
9972
9973
9974
9975
9976
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 9966

class UpdatePatchBaselineRequest < Struct.new(
  :baseline_id,
  :name,
  :global_filters,
  :approval_rules,
  :approved_patches,
  :approved_patches_compliance_level,
  :rejected_patches,
  :description)
  include Aws::Structure
end

#nameString

The name of the patch baseline.

Returns:

  • (String)


9966
9967
9968
9969
9970
9971
9972
9973
9974
9975
9976
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 9966

class UpdatePatchBaselineRequest < Struct.new(
  :baseline_id,
  :name,
  :global_filters,
  :approval_rules,
  :approved_patches,
  :approved_patches_compliance_level,
  :rejected_patches,
  :description)
  include Aws::Structure
end

#rejected_patchesArray<String>

A list of explicitly rejected patches for the baseline.

Returns:

  • (Array<String>)


9966
9967
9968
9969
9970
9971
9972
9973
9974
9975
9976
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 9966

class UpdatePatchBaselineRequest < Struct.new(
  :baseline_id,
  :name,
  :global_filters,
  :approval_rules,
  :approved_patches,
  :approved_patches_compliance_level,
  :rejected_patches,
  :description)
  include Aws::Structure
end