AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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

Class: Aws::SSM::Types::PatchSource

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing PatchSource as input to an Aws::Client method, you can use a vanilla Hash:

{
  name: "PatchSourceName", # required
  products: ["PatchSourceProduct"], # required
  configuration: "PatchSourceConfiguration", # required
}

Information about the patches to use to update the instances, including target operating systems and source repository. Applies to Linux instances only.

Instance Attribute Summary collapse

Instance Attribute Details

#configurationString

The value of the yum repo configuration. For example:

[main]

cachedir=/var/cache/yum/$basesearch$releasever

keepcache=0

debuglevel=2

Returns:

  • (String)

    The value of the yum repo configuration.

#nameString

The name specified to identify the patch source.

Returns:

  • (String)

    The name specified to identify the patch source.

#productsArray<String>

The specific operating system versions a patch repository applies to, such as \"Ubuntu16.04\", \"AmazonLinux2016.09\", \"RedhatEnterpriseLinux7.2\" or \"Suse12.7\". For lists of supported product values, see PatchFilter.

Returns:

  • (Array<String>)

    The specific operating system versions a patch repository applies to, such as \"Ubuntu16.04\", \"AmazonLinux2016.09\", \"RedhatEnterpriseLinux7.2\" or \"Suse12.7\".