Interface CfnAsset.IAssetPropertyProperty
Contains asset property information.
Namespace: Amazon.CDK.AWS.IoTSiteWise
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface CfnAsset.IAssetPropertyProperty
Syntax (vb)
Public Interface 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
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 |
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
).
string? Alias { get; }
Property Value
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.
string? ExternalId { get; }
Property Value
Remarks
For more information, see Using external IDs in the AWS IoT SiteWise User Guide .
Id
The ID of the asset property.
string? Id { get; }
Property Value
Remarks
This is a return value and can't be set.
LogicalId
The LogicalID
of the asset property.
string? LogicalId { get; }
Property Value
Remarks
NotificationState
The MQTT notification state (enabled or disabled) for this asset property.
string? NotificationState { get; }
Property Value
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.
string? Unit { get; }