Table of Contents

Interface CfnPatchBaseline.IPatchSourceProperty

Namespace
Amazon.CDK.AWS.SSM
Assembly
Amazon.CDK.AWS.SSM.dll

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

public interface CfnPatchBaseline.IPatchSourceProperty

Examples

// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.SSM;

             var patchSourceProperty = new PatchSourceProperty {
                 Configuration = "configuration",
                 Name = "name",
                 Products = new [] { "products" }
             };

Remarks

The AWS 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 instances only.

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-patchbaseline-patchsource.html

ExampleMetadata: fixture=_generated

Properties

Configuration

The value of the yum repo configuration. For example:.

string? Configuration { get; }

Property Value

string

Remarks

[main]

name=MyCustomRepository

baseurl=https://my-custom-repository

enabled=1

For information about other options available for your yum repository configuration, see <a href="https://docs.aws.amazon.com/https://man7.org/linux/man-pages/man5/dnf.conf.5.html">dnf.conf(5)</a> .

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-patchbaseline-patchsource.html#cfn-ssm-patchbaseline-patchsource-configuration

Name

The name specified to identify the patch source.

string? Name { get; }

Property Value

string

Remarks

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 in the AWS Systems Manager API Reference .

string[]? Products { get; }

Property Value

string[]

Remarks