Class: Aws::SSM::Types::GetDeployablePatchSnapshotForInstanceRequest

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

{
  instance_id: "InstanceId", # required
  snapshot_id: "SnapshotId", # required
  baseline_override: {
    operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN, MACOS, RASPBIAN
    global_filters: {
      patch_filters: [ # required
        {
          key: "ARCH", # required, accepts ARCH, ADVISORY_ID, BUGZILLA_ID, PATCH_SET, PRODUCT, PRODUCT_FAMILY, CLASSIFICATION, CVE_ID, EPOCH, MSRC_SEVERITY, NAME, PATCH_ID, SECTION, PRIORITY, REPOSITORY, RELEASE, SEVERITY, SECURITY, VERSION
          values: ["PatchFilterValue"], # required
        },
      ],
    },
    approval_rules: {
      patch_rules: [ # required
        {
          patch_filter_group: { # required
            patch_filters: [ # required
              {
                key: "ARCH", # required, accepts ARCH, ADVISORY_ID, BUGZILLA_ID, PATCH_SET, PRODUCT, PRODUCT_FAMILY, CLASSIFICATION, CVE_ID, EPOCH, MSRC_SEVERITY, NAME, PATCH_ID, SECTION, PRIORITY, REPOSITORY, RELEASE, SEVERITY, SECURITY, VERSION
                values: ["PatchFilterValue"], # required
              },
            ],
          },
          compliance_level: "CRITICAL", # accepts CRITICAL, HIGH, MEDIUM, LOW, INFORMATIONAL, UNSPECIFIED
          approve_after_days: 1,
          approve_until_date: "PatchStringDateTime",
          enable_non_security: false,
        },
      ],
    },
    approved_patches: ["PatchId"],
    approved_patches_compliance_level: "CRITICAL", # accepts CRITICAL, HIGH, MEDIUM, LOW, INFORMATIONAL, UNSPECIFIED
    rejected_patches: ["PatchId"],
    rejected_patches_action: "ALLOW_AS_DEPENDENCY", # accepts ALLOW_AS_DEPENDENCY, BLOCK
    approved_patches_enable_non_security: false,
    sources: [
      {
        name: "PatchSourceName", # required
        products: ["PatchSourceProduct"], # required
        configuration: "PatchSourceConfiguration", # required
      },
    ],
  },
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#baseline_overrideTypes::BaselineOverride

Defines the basic information about a patch baseline override.


8423
8424
8425
8426
8427
8428
8429
# File 'lib/aws-sdk-ssm/types.rb', line 8423

class GetDeployablePatchSnapshotForInstanceRequest < Struct.new(
  :instance_id,
  :snapshot_id,
  :baseline_override)
  SENSITIVE = []
  include Aws::Structure
end

#instance_idString

The ID of the instance for which the appropriate patch snapshot should be retrieved.

Returns:

  • (String)

8423
8424
8425
8426
8427
8428
8429
# File 'lib/aws-sdk-ssm/types.rb', line 8423

class GetDeployablePatchSnapshotForInstanceRequest < Struct.new(
  :instance_id,
  :snapshot_id,
  :baseline_override)
  SENSITIVE = []
  include Aws::Structure
end

#snapshot_idString

The snapshot ID provided by the user when running `AWS-RunPatchBaseline`.

Returns:

  • (String)

8423
8424
8425
8426
8427
8428
8429
# File 'lib/aws-sdk-ssm/types.rb', line 8423

class GetDeployablePatchSnapshotForInstanceRequest < Struct.new(
  :instance_id,
  :snapshot_id,
  :baseline_override)
  SENSITIVE = []
  include Aws::Structure
end