Interface CfnTopicRule.TimestreamActionProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTopicRule.TimestreamActionProperty.Jsii$Proxy
- Enclosing class:
CfnTopicRule
@Stability(Stable)
public static interface CfnTopicRule.TimestreamActionProperty
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.iot.*; TimestreamActionProperty timestreamActionProperty = TimestreamActionProperty.builder() .databaseName("databaseName") .dimensions(List.of(TimestreamDimensionProperty.builder() .name("name") .value("value") .build())) .roleArn("roleArn") .tableName("tableName") // the properties below are optional .timestamp(TimestreamTimestampProperty.builder() .unit("unit") .value("value") .build()) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnTopicRule.TimestreamActionProperty
static final class
An implementation forCfnTopicRule.TimestreamActionProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
The name of an Amazon Timestream database that has the table to write records into.Metadata attributes of the time series that are written in each measure record.The Amazon Resource Name (ARN) of the role that grants AWS IoT permission to write to the Timestream database table.The table where the message data will be written.default Object
The value to use for the entry's timestamp.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDatabaseName
The name of an Amazon Timestream database that has the table to write records into. -
getDimensions
Metadata attributes of the time series that are written in each measure record. -
getRoleArn
The Amazon Resource Name (ARN) of the role that grants AWS IoT permission to write to the Timestream database table. -
getTableName
The table where the message data will be written. -
getTimestamp
The value to use for the entry's timestamp.If blank, the time that the entry was processed is used.
-
builder
-