interface TimestampProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.IoT.CfnTopicRule.TimestampProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsiot#CfnTopicRule_TimestampProperty |
Java | software.amazon.awscdk.services.iot.CfnTopicRule.TimestampProperty |
Python | aws_cdk.aws_iot.CfnTopicRule.TimestampProperty |
TypeScript | aws-cdk-lib » aws_iot » CfnTopicRule » TimestampProperty |
Describes how to interpret an application-defined timestamp value from an MQTT message payload and the precision of that value.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_iot as iot } from 'aws-cdk-lib';
const timestampProperty: iot.CfnTopicRule.TimestampProperty = {
value: 'value',
// the properties below are optional
unit: 'unit',
};
Properties
Name | Type | Description |
---|---|---|
value | string | An expression that returns a long epoch time value. |
unit? | string | The precision of the timestamp value that results from the expression described in value . |
value
Type:
string
An expression that returns a long epoch time value.
unit?
Type:
string
(optional)
The precision of the timestamp value that results from the expression described in value
.