aws-cdk-lib.aws_iot.CfnTopicRule.TimestampProperty

interface TimestampProperty

LanguageType name
.NETAmazon.CDK.AWS.IoT.CfnTopicRule.TimestampProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsiot#CfnTopicRule_TimestampProperty
Javasoftware.amazon.awscdk.services.iot.CfnTopicRule.TimestampProperty
Pythonaws_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

NameTypeDescription
valuestringAn expression that returns a long epoch time value.
unit?stringThe 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 .