Class CfnTopicRulePropsMixin.TimestreamActionProperty
Describes an action that writes records into an Amazon Timestream table.
Implements
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.IoT
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnTopicRulePropsMixin.TimestreamActionProperty : CfnTopicRulePropsMixin.ITimestreamActionProperty
Syntax (vb)
Public Class CfnTopicRulePropsMixin.TimestreamActionProperty Implements CfnTopicRulePropsMixin.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.CfnPropertyMixins.AWS.IoT;
var timestreamActionProperty = new TimestreamActionProperty {
DatabaseName = "databaseName",
Dimensions = new [] { new TimestreamDimensionProperty {
Name = "name",
Value = "value"
} },
RoleArn = "roleArn",
TableName = "tableName",
Timestamp = new TimestreamTimestampProperty {
Unit = "unit",
Value = "value"
}
};
Synopsis
Constructors
| TimestreamActionProperty() | Describes an action that writes records into an Amazon Timestream table. |
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()
Describes an action that writes records into an Amazon Timestream table.
public TimestreamActionProperty()
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.CfnPropertyMixins.AWS.IoT;
var timestreamActionProperty = new TimestreamActionProperty {
DatabaseName = "databaseName",
Dimensions = new [] { new TimestreamDimensionProperty {
Name = "name",
Value = "value"
} },
RoleArn = "roleArn",
TableName = "tableName",
Timestamp = new TimestreamTimestampProperty {
Unit = "unit",
Value = "value"
}
};
Properties
DatabaseName
The name of an Amazon Timestream database that has the table to write records into.
public string? DatabaseName { get; set; }
Property Value
Remarks
Dimensions
Metadata attributes of the time series that are written in each measure record.
public object? Dimensions { get; set; }
Property Value
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
Remarks
TableName
The table where the message data will be written.
public string? TableName { get; set; }
Property Value
Remarks
Timestamp
The value to use for the entry's timestamp.
public object? Timestamp { get; set; }
Property Value
Remarks
If blank, the time that the entry was processed is used.
Type union: either IResolvable or CfnTopicRulePropsMixin.ITimestreamTimestampProperty