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 CfnTopicRule.ITimestreamActionProperty
Syntax (vb)
Public Interface CfnTopicRule.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
| DatabaseName | 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. |
| RoleArn | The Amazon Resource Name (ARN) of the role that grants AWS IoT permission to write to the Timestream database table. |
| TableName | 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
Remarks
Dimensions
Metadata attributes of the time series that are written in each measure record.
object Dimensions { get; }
Property Value
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
Remarks
TableName
The table where the message data will be written.
string TableName { get; }
Property Value
Remarks
Timestamp
The value to use for the entry's timestamp.
object? Timestamp { get; }
Property Value
Remarks
If blank, the time that the entry was processed is used.
Type union: either IResolvable or CfnTopicRule.ITimestreamTimestampProperty