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


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


public class PatchRule

The PatchRule type exposes the following members


Public Method PatchRule()


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.

Public Property ComplianceLevel Amazon.SimpleSystemsManagement.PatchComplianceLevel

Gets and sets the property ComplianceLevel.

A compliance severity level for all approved patches in a patch baseline. Valid compliance severity levels include the following: Unspecified, Critical, High, Medium, Low, and Informational.

Public Property EnableNonSecurity System.Boolean

Gets and sets the property EnableNonSecurity.

For instances 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 instances 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 Standard:
Supported in: 1.3

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

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms