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.

Contains information about a component on a Greengrass core device.

Inheritance Hierarchy

System.Object
  Amazon.GreengrassV2.Model.InstalledComponent

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

Syntax

C#
public class InstalledComponent

The InstalledComponent type exposes the following members

Constructors

NameDescription
Public Method InstalledComponent()

Properties

NameTypeDescription
Public Property ComponentName System.String

Gets and sets the property ComponentName.

The name of the component.

Public Property ComponentVersion System.String

Gets and sets the property ComponentVersion.

The version of the component.

Public Property IsRoot System.Boolean

Gets and sets the property IsRoot.

Whether or not the component is a root component.

Public Property LastInstallationSource System.String

Gets and sets the property LastInstallationSource.

The most recent deployment source that brought the component to the Greengrass core device. For a thing group deployment or thing deployment, the source will be the ID of the last deployment that contained the component. For local deployments it will be LOCAL.

Any deployment will attempt to reinstall currently broken components on the device, which will update the last installation source.

Public Property LastReportedTimestamp System.DateTime

Gets and sets the property LastReportedTimestamp.

The last time the Greengrass core device sent a message containing a component's state to the Amazon Web Services Cloud.

A component does not need to see a state change for this field to update.

Public Property LastStatusChangeTimestamp System.DateTime

Gets and sets the property LastStatusChangeTimestamp.

The status of how current the data is.

This response is based off of component state changes. The status reflects component disruptions and deployments. If a component only sees a configuration update during a deployment, it might not undergo a state change and this status would not be updated.

Public Property LifecycleState Amazon.GreengrassV2.InstalledComponentLifecycleState

Gets and sets the property LifecycleState.

The lifecycle state of the component.

Public Property LifecycleStateDetails System.String

Gets and sets the property LifecycleStateDetails.

A detailed response about the lifecycle state of the component that explains the reason why a component has an error or is broken.

Public Property LifecycleStatusCodes System.Collections.Generic.List<System.String>

Gets and sets the property LifecycleStatusCodes.

The status codes that indicate the reason for failure whenever the lifecycleState has an error or is in a broken state.

Greengrass nucleus v2.8.0 or later is required to get an accurate lifecycleStatusCodes response. This response can be inaccurate in earlier Greengrass nucleus versions.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5 and newer, 3.5