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 the high-level patch compliance state for a managed node, providing information about the number of installed, missing, not applicable, and failed patches along with metadata about the operation when this information was gathered for the managed node.

Inheritance Hierarchy

System.Object
  Amazon.SimpleSystemsManagement.Model.InstancePatchState

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

Syntax

C#
public class InstancePatchState

The InstancePatchState type exposes the following members

Constructors

NameDescription
Public Method InstancePatchState()

Properties

NameTypeDescription
Public Property BaselineId System.String

Gets and sets the property BaselineId.

The ID of the patch baseline used to patch the managed node.

Public Property CriticalNonCompliantCount System.Int32

Gets and sets the property CriticalNonCompliantCount.

The number of patches per node that are specified as Critical for compliance reporting in the patch baseline aren't installed. These patches might be missing, have failed installation, were rejected, or were installed but awaiting a required managed node reboot. The status of these managed nodes is NON_COMPLIANT.

Public Property FailedCount System.Int32

Gets and sets the property FailedCount.

The number of patches from the patch baseline that were attempted to be installed during the last patching operation, but failed to install.

Public Property InstalledCount System.Int32

Gets and sets the property InstalledCount.

The number of patches from the patch baseline that are installed on the managed node.

Public Property InstalledOtherCount System.Int32

Gets and sets the property InstalledOtherCount.

The number of patches not specified in the patch baseline that are installed on the managed node.

Public Property InstalledPendingRebootCount System.Int32

Gets and sets the property InstalledPendingRebootCount.

The number of patches installed by Patch Manager since the last time the managed node was rebooted.

Public Property InstalledRejectedCount System.Int32

Gets and sets the property InstalledRejectedCount.

The number of patches installed on a managed node that are specified in a RejectedPatches list. Patches with a status of InstalledRejected were typically installed before they were added to a RejectedPatches list.

If ALLOW_AS_DEPENDENCY is the specified option for RejectedPatchesAction, the value of InstalledRejectedCount will always be 0 (zero).

Public Property InstallOverrideList System.String

Gets and sets the property InstallOverrideList.

An https URL or an Amazon Simple Storage Service (Amazon S3) path-style URL to a list of patches to be installed. This patch installation list, which you maintain in an S3 bucket in YAML format and specify in the SSM document AWS-RunPatchBaseline, overrides the patches specified by the default patch baseline.

For more information about the InstallOverrideList parameter, see About the AWS-RunPatchBaseline SSM document in the Amazon Web Services Systems Manager User Guide.

Public Property InstanceId System.String

Gets and sets the property InstanceId.

The ID of the managed node the high-level patch compliance information was collected for.

Public Property LastNoRebootInstallOperationTime System.DateTime

Gets and sets the property LastNoRebootInstallOperationTime.

The time of the last attempt to patch the managed node with NoReboot specified as the reboot option.

Public Property MissingCount System.Int32

Gets and sets the property MissingCount.

The number of patches from the patch baseline that are applicable for the managed node but aren't currently installed.

Public Property NotApplicableCount System.Int32

Gets and sets the property NotApplicableCount.

The number of patches from the patch baseline that aren't applicable for the managed node and therefore aren't installed on the node. This number may be truncated if the list of patch names is very large. The number of patches beyond this limit are reported in UnreportedNotApplicableCount.

Public Property Operation Amazon.SimpleSystemsManagement.PatchOperationType

Gets and sets the property Operation.

The type of patching operation that was performed: or

  • SCAN assesses the patch compliance state.

  • INSTALL installs missing patches.

Public Property OperationEndTime System.DateTime

Gets and sets the property OperationEndTime.

The time the most recent patching operation completed on the managed node.

Public Property OperationStartTime System.DateTime

Gets and sets the property OperationStartTime.

The time the most recent patching operation was started on the managed node.

Public Property OtherNonCompliantCount System.Int32

Gets and sets the property OtherNonCompliantCount.

The number of patches per node that are specified as other than Critical or Security but aren't compliant with the patch baseline. The status of these managed nodes is NON_COMPLIANT.

Public Property OwnerInformation System.String

Gets and sets the property OwnerInformation.

Placeholder information. This field will always be empty in the current release of the service.

Public Property PatchGroup System.String

Gets and sets the property PatchGroup.

The name of the patch group the managed node belongs to.

Public Property RebootOption Amazon.SimpleSystemsManagement.RebootOption

Gets and sets the property RebootOption.

Indicates the reboot option specified in the patch baseline.

Reboot options apply to Install operations only. Reboots aren't attempted for Patch Manager Scan operations.

  • RebootIfNeeded: Patch Manager tries to reboot the managed node if it installed any patches, or if any patches are detected with a status of InstalledPendingReboot.

  • NoReboot: Patch Manager attempts to install missing packages without trying to reboot the system. Patches installed with this option are assigned a status of InstalledPendingReboot. These patches might not be in effect until a reboot is performed.

Public Property SecurityNonCompliantCount System.Int32

Gets and sets the property SecurityNonCompliantCount.

The number of patches per node that are specified as Security in a patch advisory aren't installed. These patches might be missing, have failed installation, were rejected, or were installed but awaiting a required managed node reboot. The status of these managed nodes is NON_COMPLIANT.

Public Property SnapshotId System.String

Gets and sets the property SnapshotId.

The ID of the patch baseline snapshot used during the patching operation when this compliance data was collected.

Public Property UnreportedNotApplicableCount System.Int32

Gets and sets the property UnreportedNotApplicableCount.

The number of patches beyond the supported limit of NotApplicableCount that aren't reported by name to Inventory. Inventory is a capability of Amazon Web Services Systems Manager.

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