Show / Hide Table of Contents

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

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-timestreamaction.html

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

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-timestreamaction.html#cfn-iot-topicrule-timestreamaction-databasename

Dimensions

Metadata attributes of the time series that are written in each measure record.

object Dimensions { get; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-timestreamaction.html#cfn-iot-topicrule-timestreamaction-dimensions

Type union: either IResolvable or (either IResolvable or CfnTopicRule.ITimestreamDimensionProperty)[]

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

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-timestreamaction.html#cfn-iot-topicrule-timestreamaction-rolearn

TableName

The table where the message data will be written.

string TableName { get; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-timestreamaction.html#cfn-iot-topicrule-timestreamaction-tablename

Timestamp

The value to use for the entry's timestamp.

object? Timestamp { get; }
Property Value

object

Remarks

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

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-timestreamaction.html#cfn-iot-topicrule-timestreamaction-timestamp

Type union: either IResolvable or CfnTopicRule.ITimestreamTimestampProperty

Back to top Generated by DocFX