Class CfnAsset.AssetPropertyProperty
Contains asset property information.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.IoTSiteWise
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class AssetPropertyProperty : Object, CfnAsset.IAssetPropertyProperty
Syntax (vb)
Public Class AssetPropertyProperty
Inherits Object
Implements CfnAsset.IAssetPropertyProperty
Remarks
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.IoTSiteWise;
var assetPropertyProperty = new AssetPropertyProperty {
Alias = "alias",
ExternalId = "externalId",
Id = "id",
LogicalId = "logicalId",
NotificationState = "notificationState",
Unit = "unit"
};
Synopsis
Constructors
AssetPropertyProperty() |
Properties
Alias | The alias that identifies the property, such as an OPC-UA server data stream path (for example, |
ExternalId | The external ID of the property. |
Id | The ID of the asset property. |
LogicalId | The |
NotificationState | The MQTT notification state (enabled or disabled) for this asset property. |
Unit | The unit (such as |
Constructors
AssetPropertyProperty()
public AssetPropertyProperty()
Properties
Alias
The alias that identifies the property, such as an OPC-UA server data stream path (for example, /company/windfarm/3/turbine/7/temperature
).
public string Alias { get; set; }
Property Value
System.String
Remarks
For more information, see Mapping industrial data streams to asset properties in the AWS IoT SiteWise User Guide .
ExternalId
The external ID of the property.
public string ExternalId { get; set; }
Property Value
System.String
Remarks
For more information, see Using external IDs in the AWS IoT SiteWise User Guide .
Id
The ID of the asset property.
public string Id { get; set; }
Property Value
System.String
Remarks
This is a return value and can't be set.
LogicalId
The LogicalID
of the asset property.
public string LogicalId { get; set; }
Property Value
System.String
Remarks
NotificationState
The MQTT notification state (enabled or disabled) for this asset property.
public string NotificationState { get; set; }
Property Value
System.String
Remarks
When the notification state is enabled, AWS IoT SiteWise publishes property value updates to a unique MQTT topic. For more information, see Interacting with other services in the AWS IoT SiteWise User Guide .
If you omit this parameter, the notification state is set to DISABLED
.
Unit
The unit (such as Newtons
or RPM
) of the asset property.
public string Unit { get; set; }
Property Value
System.String