AssetPropertyProperty Struct
Contains asset property information.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_iotsitewise as iotsitewise } from 'aws-cdk-lib';
const assetPropertyProperty: iotsitewise.CfnAsset.AssetPropertyProperty = {
alias: 'alias',
externalId: 'externalId',
id: 'id',
logicalId: 'logicalId',
notificationState: 'notificationState',
unit: 'unit',
};
Properties
The alias that identifies the property, such as an OPC-UA server data stream path (for example, `/company/windfarm/3/turbine/7/temperature` ).
For more information, see Mapping industrial data streams to asset properties in the AWS IoT SiteWise User Guide .
externalIdoptionalstringexternal_idoptionalstrexternalIdoptionalStringExternalIdoptionalstringExternalIdoptional*string#The external ID of the property.
For more information, see Using external IDs in the AWS IoT SiteWise User Guide .
The ID of the asset property.
This is a return value and can't be set.
logicalIdoptionalstringlogical_idoptionalstrlogicalIdoptionalStringLogicalIdoptionalstringLogicalIdoptional*string#The `LogicalID` of the asset property.
notificationStateoptionalstringnotification_stateoptionalstrnotificationStateoptionalStringNotificationStateoptionalstringNotificationStateoptional*string#The MQTT notification state (enabled or disabled) for this asset property.
notes
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 .
The unit (such as `Newtons` or `RPM` ) of the asset property.