Interface CfnTopicRule.ITimestreamActionProperty
Describes an action that writes records into an Amazon Timestream table.
Namespace: Amazon.CDK.AWS.IoT
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ITimestreamActionProperty
Syntax (vb)
Public Interface ITimestreamActionProperty
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 timestreamActionProperty = new TimestreamActionProperty {
DatabaseName = "databaseName",
Dimensions = new [] { new TimestreamDimensionProperty {
Name = "name",
Value = "value"
} },
RoleArn = "roleArn",
TableName = "tableName",
// the properties below are optional
Timestamp = new TimestreamTimestampProperty {
Unit = "unit",
Value = "value"
}
};
Synopsis
Properties
Database |
The name of an Amazon Timestream database that has the table to write records into. |
Dimensions | Metadata attributes of the time series that are written in each measure record. |
Role |
The Amazon Resource Name (ARN) of the role that grants AWS IoT permission to write to the Timestream database table. |
Table |
The table where the message data will be written. |
Timestamp | The value to use for the entry's timestamp. |
Properties
DatabaseName
The name of an Amazon Timestream database that has the table to write records into.
string DatabaseName { get; }
Property Value
System.
Remarks
Dimensions
Metadata attributes of the time series that are written in each measure record.
object Dimensions { get; }
Property Value
System.
Remarks
RoleArn
The Amazon Resource Name (ARN) of the role that grants AWS IoT permission to write to the Timestream database table.
string RoleArn { get; }
Property Value
System.
Remarks
TableName
The table where the message data will be written.
string TableName { get; }
Property Value
System.
Remarks
Timestamp
The value to use for the entry's timestamp.
virtual object Timestamp { get; }
Property Value
System.
Remarks
If blank, the time that the entry was processed is used.