Interface CfnTopicRule.TimestreamActionProperty

All Superinterfaces:
All Known Implementing Classes:
Enclosing class:

@Stability(Stable) public static interface CfnTopicRule.TimestreamActionProperty extends
Describes an action that writes records into an Amazon Timestream table.


 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 TimestreamActionProperty timestreamActionProperty = TimestreamActionProperty.builder()
         // the properties below are optional
  • Method Details

    • getDatabaseName

      @Stability(Stable) @NotNull String getDatabaseName()
      The name of an Amazon Timestream database that has the table to write records into.
    • getDimensions

      @Stability(Stable) @NotNull Object getDimensions()
      Metadata attributes of the time series that are written in each measure record.
    • getRoleArn

      @Stability(Stable) @NotNull String getRoleArn()
      The Amazon Resource Name (ARN) of the role that grants AWS IoT permission to write to the Timestream database table.
    • getTableName

      @Stability(Stable) @NotNull String getTableName()
      The table where the message data will be written.
    • getTimestamp

      @Stability(Stable) @Nullable default Object getTimestamp()
      The value to use for the entry's timestamp.

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

    • builder

      @Stability(Stable) static CfnTopicRule.TimestreamActionProperty.Builder builder()
      a CfnTopicRule.TimestreamActionProperty.Builder of CfnTopicRule.TimestreamActionProperty