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

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 PatchSource data as a 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.

Constant Summary collapse

SENSITIVE =
[:configuration]

Instance Attribute Summary collapse

Instance Attribute Details

#configurationString

The value of the yum repo configuration. For example:

`[main]`

`name=MyCustomRepository`

`baseurl=my-custom-repository`

`enabled=1`

<note markdown=“1”> For information about other options available for your yum repository configuration, see [dnf.conf(5)].

</note>

[1]: man7.org/linux/man-pages/man5/dnf.conf.5.html

Returns:

  • (String)

15891
15892
15893
15894
15895
15896
15897
# File 'lib/aws-sdk-ssm/types.rb', line 15891

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

#nameString

The name specified to identify the patch source.

Returns:

  • (String)

15891
15892
15893
15894
15895
15896
15897
# File 'lib/aws-sdk-ssm/types.rb', line 15891

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

15891
15892
15893
15894
15895
15896
15897
# File 'lib/aws-sdk-ssm/types.rb', line 15891

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