AWS::SSM::PatchBaseline PatchSource - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

AWS::SSM::PatchBaseline PatchSource

PatchSource is the property type for the Sources resource of the AWS::SSM::PatchBaseline resource.

The Amazon CloudFormation AWS::SSM::PatchSource resource is used to provide information about the patches to use to update target instances, including target operating systems and source repository. Applies to Linux managed nodes only.

Syntax

To declare this entity in your Amazon CloudFormation template, use the following syntax:

JSON

{ "Configuration" : String, "Name" : String, "Products" : [ String, ... ] }

YAML

Configuration: String Name: String Products: - String

Properties

Configuration

The value of the yum repo configuration. For example:

[main]

name=MyCustomRepository

baseurl=https://my-custom-repository

enabled=1

Note

For information about other options available for your yum repository configuration, see dnf.conf(5).

Required: No

Type: String

Minimum: 1

Maximum: 1024

Update requires: No interruption

Name

The name specified to identify the patch source.

Required: No

Type: String

Pattern: ^[a-zA-Z0-9_\-.]{3,50}$

Update requires: No interruption

Products

The specific operating system versions a patch repository applies to, such as "Ubuntu16.04", "RedhatEnterpriseLinux7.2" or "Suse12.7". For lists of supported product values, see PatchFilter in the Amazon Systems Manager API Reference.

Required: No

Type: Array of String

Minimum: 1

Maximum: 20

Update requires: No interruption