interface TimestreamActionProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.IoT.Mixins.CfnTopicRulePropsMixin.TimestreamActionProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsiot/mixins#CfnTopicRulePropsMixin_TimestreamActionProperty |
Java | software.amazon.awscdk.mixins.preview.services.iot.mixins.CfnTopicRulePropsMixin.TimestreamActionProperty |
Python | aws_cdk.mixins_preview.aws_iot.mixins.CfnTopicRulePropsMixin.TimestreamActionProperty |
TypeScript | @aws-cdk/mixins-preview » aws_iot » mixins » CfnTopicRulePropsMixin » TimestreamActionProperty |
Describes an action that writes records into an Amazon Timestream table.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as iot_mixins } from '@aws-cdk/mixins-preview/aws-iot';
const timestreamActionProperty: iot_mixins.CfnTopicRulePropsMixin.TimestreamActionProperty = {
databaseName: 'databaseName',
dimensions: [{
name: 'name',
value: 'value',
}],
roleArn: 'roleArn',
tableName: 'tableName',
timestamp: {
unit: 'unit',
value: 'value',
},
};
Properties
| Name | Type | Description |
|---|---|---|
| database | string | The name of an Amazon Timestream database that has the table to write records into. |
| dimensions? | IResolvable | (IResolvable | Timestream)[] | Metadata attributes of the time series that are written in each measure record. |
| role | string | The Amazon Resource Name (ARN) of the role that grants AWS IoT permission to write to the Timestream database table. |
| table | string | The table where the message data will be written. |
| timestamp? | IResolvable | Timestream | The value to use for the entry's timestamp. |
databaseName?
Type:
string
(optional)
The name of an Amazon Timestream database that has the table to write records into.
dimensions?
Type:
IResolvable | (IResolvable | Timestream)[]
(optional)
Metadata attributes of the time series that are written in each measure record.
roleArn?
Type:
string
(optional)
The Amazon Resource Name (ARN) of the role that grants AWS IoT permission to write to the Timestream database table.
tableName?
Type:
string
(optional)
The table where the message data will be written.
timestamp?
Type:
IResolvable | Timestream
(optional)
The value to use for the entry's timestamp.
If blank, the time that the entry was processed is used.

.NET
Go
Java
Python
TypeScript