Skip to content
v2.277.0

TimestreamTimestampProperty Struct ​

The value to use for the entry's timestamp.

If blank, the time that the entry was processed is used.

Example ​

ts
// 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 timestreamTimestampProperty: iot.CfnTopicRule.TimestreamTimestampProperty = {
  unit: 'unit',
  value: 'value',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_iot as iot

timestream_timestamp_property = iot.CfnTopicRule.TimestreamTimestampProperty(
    unit="unit",
    value="value"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.iot.*;

TimestreamTimestampProperty timestreamTimestampProperty = TimestreamTimestampProperty.builder()
        .unit("unit")
        .value("value")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// 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 timestreamTimestampProperty = new TimestreamTimestampProperty {
    Unit = "unit",
    Value = "value"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

timestreamTimestampProperty := &TimestreamTimestampProperty{
	Unit: jsii.String("unit"),
	Value: jsii.String("value"),
}

Properties ​

unitstringunitstrunitStringUnitstringUnit*stringrequired#
The precision of the timestamp value that results from the expression described in `value` .
valuestringvaluestrvalueStringValuestringValue*stringrequired#
An expression that returns a long epoch time value.