AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Defines an approval rule for a patch baseline.

Inheritance Hierarchy

System.Object
  Amazon.SimpleSystemsManagement.Model.PatchRule

Namespace: Amazon.SimpleSystemsManagement.Model
Assembly: AWSSDK.SimpleSystemsManagement.dll
Version: 3.x.y.z

Syntax

C#
public class PatchRule

The PatchRule type exposes the following members

Constructors

NameDescription
Public Method PatchRule()

Properties

NameTypeDescription
Public Property ApproveAfterDays System.Int32

Gets and sets the property ApproveAfterDays.

The number of days after the release date of each patch matched by the rule that the patch is marked as approved in the patch baseline. For example, a value of 7 means that patches are approved seven days after they are released. Not supported on Debian Server or Ubuntu Server.

Public Property ApproveUntilDate System.String

Gets and sets the property ApproveUntilDate.

The cutoff date for auto approval of released patches. Any patches released on or before this date are installed automatically. Not supported on Debian Server or Ubuntu Server.

Enter dates in the format YYYY-MM-DD. For example, 2021-12-31.

Public Property ComplianceLevel Amazon.SimpleSystemsManagement.PatchComplianceLevel

Gets and sets the property ComplianceLevel.

A compliance severity level for all approved patches in a patch baseline.

Public Property EnableNonSecurity System.Boolean

Gets and sets the property EnableNonSecurity.

For managed nodes identified by the approval rule filters, enables a patch baseline to apply non-security updates available in the specified repository. The default value is false. Applies to Linux managed nodes only.

Public Property PatchFilterGroup Amazon.SimpleSystemsManagement.Model.PatchFilterGroup

Gets and sets the property PatchFilterGroup.

The patch filter group that defines the criteria for the rule.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5