Class CfnTopicRule.TimestreamActionProperty
Describes an action that writes records into an Amazon Timestream table.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.IoT
Assembly: Amazon.CDK.AWS.IoT.dll
Syntax (csharp)
public class TimestreamActionProperty : Object, CfnTopicRule.ITimestreamActionProperty
Syntax (vb)
Public Class TimestreamActionProperty
Inherits Object
Implements 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
Constructors
TimestreamActionProperty() |
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. |
Constructors
TimestreamActionProperty()
public TimestreamActionProperty()
Properties
DatabaseName
The name of an Amazon Timestream database that has the table to write records into.
public string DatabaseName { get; set; }
Property Value
System.String
Remarks
Dimensions
Metadata attributes of the time series that are written in each measure record.
public object Dimensions { get; set; }
Property Value
System.Object
Remarks
RoleArn
The Amazon Resource Name (ARN) of the role that grants AWS IoT permission to write to the Timestream database table.
public string RoleArn { get; set; }
Property Value
System.String
Remarks
TableName
The table where the message data will be written.
public string TableName { get; set; }
Property Value
System.String
Remarks
Timestamp
The value to use for the entry's timestamp.
public object Timestamp { get; set; }
Property Value
System.Object
Remarks
If blank, the time that the entry was processed is used.