Class CfnTopicRule.TimestampProperty
Describes how to interpret an application-defined timestamp value from an MQTT message payload and the precision of that value.
Inheritance
System.Object
CfnTopicRule.TimestampProperty
Implements
Namespace: Amazon.CDK.AWS.IoT
Assembly: Amazon.CDK.AWS.IoT.dll
Syntax (csharp)
public class TimestampProperty : Object, CfnTopicRule.ITimestampProperty
Syntax (vb)
Public Class TimestampProperty
Inherits Object
Implements CfnTopicRule.ITimestampProperty
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.IoT;
var timestampProperty = new TimestampProperty {
Value = "value",
// the properties below are optional
Unit = "unit"
};
Synopsis
Constructors
TimestampProperty() |
Properties
Unit | The precision of the timestamp value that results from the expression described in |
Value | An expression that returns a long epoch time value. |
Constructors
TimestampProperty()
public TimestampProperty()
Properties
Unit
The precision of the timestamp value that results from the expression described in value
.
public string Unit { get; set; }
Property Value
System.String
Remarks
Value
An expression that returns a long epoch time value.
public string Value { get; set; }
Property Value
System.String