@Stability(value=Stable)
public static interface CfnTopicRule.TimestreamActionProperty
extends software.amazon.jsii.JsiiSerializable
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
.batchMode(false)
.timestamp(TimestreamTimestampProperty.builder()
.unit("unit")
.value("value")
.build())
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnTopicRule.TimestreamActionProperty.Builder
A builder for
CfnTopicRule.TimestreamActionProperty |
static class |
CfnTopicRule.TimestreamActionProperty.Jsii$Proxy
An implementation for
CfnTopicRule.TimestreamActionProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnTopicRule.TimestreamActionProperty.Builder |
builder() |
default Object |
getBatchMode()
Whether to process the action as a batch.
|
String |
getDatabaseName()
The name of an Amazon Timestream database that has the table to write records into.
|
Object |
getDimensions()
Metadata attributes of the time series that are written in each measure record.
|
String |
getRoleArn()
The Amazon Resource Name (ARN) of the role that grants AWS IoT permission to write to the Timestream database table.
|
String |
getTableName()
The table where the message data will be written.
|
default Object |
getTimestamp()
The value to use for the entry's timestamp.
|
@Stability(value=Stable) @NotNull String getDatabaseName()
@Stability(value=Stable) @NotNull Object getDimensions()
@Stability(value=Stable) @NotNull String getRoleArn()
@Stability(value=Stable) @NotNull String getTableName()
@Stability(value=Stable) @Nullable default Object getBatchMode()
@Stability(value=Stable) @Nullable default Object getTimestamp()
If blank, the time that the entry was processed is used.
@Stability(value=Stable) static CfnTopicRule.TimestreamActionProperty.Builder builder()
Copyright © 2022. All rights reserved.