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

Inherits:
Struct
  • Object
show all
Includes:
Aws::Structure
Defined in:
lib/aws-sdk-ssm/types.rb

Overview

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

Constant Summary collapse

SENSITIVE =
[:configuration]

Instance Attribute Summary collapse

Instance Attribute Details

#configurationString

The value of the repo configuration.

**Example for yum repositories**

‘[main]`

‘name=MyCustomRepository`

‘baseurl=my-custom-repository`

‘enabled=1`

For information about other options available for your yum repository configuration, see [dnf.conf(5)] on the man7.org website.

**Examples for Ubuntu Server and Debian Server**

‘deb security.ubuntu.com/ubuntu jammy main`

‘deb site.example.com/debian distribution component1 component2 component3`

Repo information for Ubuntu Server repositories must be specifed in a single line. For more examples and information, see [jammy (5) sources.list.5.gz] on the *Ubuntu Server Manuals* website and

sources.list format][3

on the *Debian Wiki*.

[1]: man7.org/linux/man-pages/man5/dnf.conf.5.html [2]: manpages.ubuntu.com/manpages/jammy/man5/sources.list.5.html [3]: wiki.debian.org/SourcesList#sources.list_format

Returns:

  • (String)


15839
15840
15841
15842
15843
15844
15845
# File 'lib/aws-sdk-ssm/types.rb', line 15839

class PatchSource < Struct.new(
  :name,
  :products,
  :configuration)
  SENSITIVE = [:configuration]
  include Aws::Structure
end

#nameString

The name specified to identify the patch source.

Returns:

  • (String)


15839
15840
15841
15842
15843
15844
15845
# File 'lib/aws-sdk-ssm/types.rb', line 15839

class PatchSource < Struct.new(
  :name,
  :products,
  :configuration)
  SENSITIVE = [:configuration]
  include Aws::Structure
end

#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>)


15839
15840
15841
15842
15843
15844
15845
# File 'lib/aws-sdk-ssm/types.rb', line 15839

class PatchSource < Struct.new(
  :name,
  :products,
  :configuration)
  SENSITIVE = [:configuration]
  include Aws::Structure
end