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();
 

See Also: