Show / Hide Table of Contents

Class CfnPatchBaseline.PatchSourceProperty

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

Inheritance
object
CfnPatchBaseline.PatchSourceProperty
Implements
CfnPatchBaseline.IPatchSourceProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.SSM
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnPatchBaseline.PatchSourceProperty : CfnPatchBaseline.IPatchSourceProperty
Syntax (vb)
Public Class CfnPatchBaseline.PatchSourceProperty 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 managed nodes only.

See: 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()

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

Properties

Configuration

The value of the repo configuration.

Name

The name specified to identify the patch source.

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

Constructors

PatchSourceProperty()

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

public PatchSourceProperty()
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 managed nodes only.

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

Properties

Configuration

The value of the repo configuration.

public string? Configuration { get; set; }
Property Value

string

Remarks

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 .

See: 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

string

Remarks

See: 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", "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

string[]

Remarks

See: 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