interface TimestampProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.IoT.Mixins.CfnTopicRulePropsMixin.TimestampProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsiot/mixins#CfnTopicRulePropsMixin_TimestampProperty |
Java | software.amazon.awscdk.mixins.preview.services.iot.mixins.CfnTopicRulePropsMixin.TimestampProperty |
Python | aws_cdk.mixins_preview.aws_iot.mixins.CfnTopicRulePropsMixin.TimestampProperty |
TypeScript | @aws-cdk/mixins-preview » aws_iot » mixins » CfnTopicRulePropsMixin » 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 { mixins as iot_mixins } from '@aws-cdk/mixins-preview/aws-iot';
const timestampProperty: iot_mixins.CfnTopicRulePropsMixin.TimestampProperty = {
unit: 'unit',
value: 'value',
};
Properties
| Name | Type | Description |
|---|---|---|
| unit? | string | The precision of the timestamp value that results from the expression described in value . |
| value? | 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 .
value?
Type:
string
(optional)
An expression that returns a long epoch time value.

.NET
Go
Java
Python
TypeScript