Show / Hide Table of Contents

Class CfnPatchBaseline.PatchSourceProperty

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

Inheritance
System.Object
CfnPatchBaseline.PatchSourceProperty
Implements
CfnPatchBaseline.IPatchSourceProperty
Namespace: Amazon.CDK.AWS.SSM
Assembly: Amazon.CDK.AWS.SSM.dll
Syntax (csharp)
public class PatchSourceProperty : Object, CfnPatchBaseline.IPatchSourceProperty
Syntax (vb)
Public Class PatchSourceProperty
    Inherits Object
    Implements CfnPatchBaseline.IPatchSourceProperty
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

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" }
};

Synopsis

Constructors

PatchSourceProperty()

Properties

Configuration

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

Name

The name specified to identify the patch source.

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 .

Constructors

PatchSourceProperty()

public PatchSourceProperty()

Properties

Configuration

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

public string Configuration { get; set; }
Property Value

System.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.

public string Name { get; set; }
Property Value

System.String

Remarks

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

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 .

public string[] Products { get; set; }
Property Value

System.String[]

Remarks

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

Implements

CfnPatchBaseline.IPatchSourceProperty
Back to top Generated by DocFX