/AWS1/CL_SSMPATCHSOURCE¶
Information about the patches to use to update the managed nodes, including target operating systems and source repository. Applies to Linux managed nodes only.
CONSTRUCTOR
¶
IMPORTING¶
Required arguments:¶
iv_name
TYPE /AWS1/SSMPATCHSOURCENAME
/AWS1/SSMPATCHSOURCENAME
¶
The name specified to identify the patch source.
it_products
TYPE /AWS1/CL_SSMPATCHSRCPRODUCTL00=>TT_PATCHSOURCEPRODUCTLIST
TT_PATCHSOURCEPRODUCTLIST
¶
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.
iv_configuration
TYPE /AWS1/SSMPATCHSOURCECONF
/AWS1/SSMPATCHSOURCECONF
¶
The value of the repo configuration.
Example for yum repositories
[main]
name=MyCustomRepository
baseurl=https://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 http://security.ubuntu.com/ubuntu jammy main
deb https://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 on the Debian Wiki.
Queryable Attributes¶
Name¶
The name specified to identify the patch source.
Accessible with the following methods¶
Method | Description |
---|---|
GET_NAME() |
Getter for NAME, with configurable default |
ASK_NAME() |
Getter for NAME w/ exceptions if field has no value |
HAS_NAME() |
Determine if NAME has a value |
Products¶
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.
Accessible with the following methods¶
Method | Description |
---|---|
GET_PRODUCTS() |
Getter for PRODUCTS, with configurable default |
ASK_PRODUCTS() |
Getter for PRODUCTS w/ exceptions if field has no value |
HAS_PRODUCTS() |
Determine if PRODUCTS has a value |
Configuration¶
The value of the repo configuration.
Example for yum repositories
[main]
name=MyCustomRepository
baseurl=https://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 http://security.ubuntu.com/ubuntu jammy main
deb https://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 on the Debian Wiki.
Accessible with the following methods¶
Method | Description |
---|---|
GET_CONFIGURATION() |
Getter for CONFIGURATION, with configurable default |
ASK_CONFIGURATION() |
Getter for CONFIGURATION w/ exceptions if field has no value |
HAS_CONFIGURATION() |
Determine if CONFIGURATION has a value |
Public Local Types In This Class¶
Internal table types, representing arrays and maps of this class, are defined as local types:
TT_PATCHSOURCELIST
¶
TYPES TT_PATCHSOURCELIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_SSMPATCHSOURCE WITH DEFAULT KEY
.