AWS::IoT::TopicRule TimestreamAction
Describes an action that writes records into an Amazon Timestream table.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "DatabaseName" :
String
, "Dimensions" :[ TimestreamDimension, ... ]
, "RoleArn" :String
, "TableName" :String
, "Timestamp" :TimestreamTimestamp
}
YAML
DatabaseName:
String
Dimensions:- TimestreamDimension
RoleArn:String
TableName:String
Timestamp:TimestreamTimestamp
Properties
DatabaseName
-
The name of an Amazon Timestream database that has the table to write records into.
Required: Yes
Type: String
Update requires: No interruption
Dimensions
-
Metadata attributes of the time series that are written in each measure record.
Required: Yes
Type: Array of TimestreamDimension
Minimum:
1
Maximum:
128
Update requires: No interruption
RoleArn
-
The Amazon Resource Name (ARN) of the role that grants AWS IoT permission to write to the Timestream database table.
Required: Yes
Type: String
Update requires: No interruption
TableName
-
The table where the message data will be written.
Required: Yes
Type: String
Update requires: No interruption
Timestamp
-
The value to use for the entry's timestamp. If blank, the time that the entry was processed is used.
Required: No
Type: TimestreamTimestamp
Update requires: No interruption