interface TimestampProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.IoT.CfnTopicRulePropsMixin.TimestampProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsiot#CfnTopicRulePropsMixin_TimestampProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.iot.CfnTopicRulePropsMixin.TimestampProperty |
Python | aws_cdk.cfn_property_mixins.aws_iot.CfnTopicRulePropsMixin.TimestampProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_iot » 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 { aws_iot as iot } from '@aws-cdk/cfn-property-mixins';
const timestampProperty: iot.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