Class CfnPatchBaseline.PatchSourceProperty
PatchSource
is the property type for the Sources
resource of the AWS::SSM::PatchBaseline resource.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.SSM
Assembly: Amazon.CDK.Lib.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 managed nodes only.
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", "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> .
Name
The name specified to identify the patch source.
public string Name { get; set; }
Property Value
System.String
Remarks
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
System.String[]