interface AssetPropertyValueProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.IoTEvents.Mixins.CfnAlarmModelPropsMixin.AssetPropertyValueProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsiotevents/mixins#CfnAlarmModelPropsMixin_AssetPropertyValueProperty |
Java | software.amazon.awscdk.mixins.preview.services.iotevents.mixins.CfnAlarmModelPropsMixin.AssetPropertyValueProperty |
Python | aws_cdk.mixins_preview.aws_iotevents.mixins.CfnAlarmModelPropsMixin.AssetPropertyValueProperty |
TypeScript | @aws-cdk/mixins-preview » aws_iotevents » mixins » CfnAlarmModelPropsMixin » AssetPropertyValueProperty |
A structure that contains value information. For more information, see AssetPropertyValue in the AWS IoT SiteWise API Reference .
You must use expressions for all parameters in AssetPropertyValue . The expressions accept literals, operators, functions, references, and substitution templates.
Examples - For literal values, the expressions must contain single quotes. For example, the value for the quality parameter can be 'GOOD' .
- For references, you must specify either variables or input values. For example, the value for the
qualityparameter can be$input.TemperatureInput.sensorData.quality.
For more information, see Expressions in the AWS IoT Events Developer Guide .
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as iotevents_mixins } from '@aws-cdk/mixins-preview/aws-iotevents';
const assetPropertyValueProperty: iotevents_mixins.CfnAlarmModelPropsMixin.AssetPropertyValueProperty = {
quality: 'quality',
timestamp: {
offsetInNanos: 'offsetInNanos',
timeInSeconds: 'timeInSeconds',
},
value: {
booleanValue: 'booleanValue',
doubleValue: 'doubleValue',
integerValue: 'integerValue',
stringValue: 'stringValue',
},
};
Properties
| Name | Type | Description |
|---|---|---|
| quality? | string | The quality of the asset property value. |
| timestamp? | IResolvable | Asset | The timestamp associated with the asset property value. |
| value? | IResolvable | Asset | The value to send to an asset property. |
quality?
Type:
string
(optional)
The quality of the asset property value.
The value must be 'GOOD' , 'BAD' , or 'UNCERTAIN' .
timestamp?
Type:
IResolvable | Asset
(optional)
The timestamp associated with the asset property value.
The default is the current event time.
value?
Type:
IResolvable | Asset
(optional)
The value to send to an asset property.

.NET
Go
Java
Python
TypeScript