@Stability(value=Stable)
public static interface CfnTopicRule.KafkaActionProperty
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.*;
KafkaActionProperty kafkaActionProperty = KafkaActionProperty.builder()
.clientProperties(Map.of(
"clientPropertiesKey", "clientProperties"))
.destinationArn("destinationArn")
.topic("topic")
// the properties below are optional
.key("key")
.partition("partition")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnTopicRule.KafkaActionProperty.Builder
A builder for
CfnTopicRule.KafkaActionProperty |
static class |
CfnTopicRule.KafkaActionProperty.Jsii$Proxy
An implementation for
CfnTopicRule.KafkaActionProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnTopicRule.KafkaActionProperty.Builder |
builder() |
Object |
getClientProperties()
Properties of the Apache Kafka producer client.
|
String |
getDestinationArn()
The ARN of Kafka action's VPC `TopicRuleDestination` .
|
default String |
getKey()
The Kafka message key.
|
default String |
getPartition()
The Kafka message partition.
|
String |
getTopic()
The Kafka topic for messages to be sent to the Kafka broker.
|
@Stability(value=Stable) @NotNull Object getClientProperties()
@Stability(value=Stable) @NotNull String getDestinationArn()
@Stability(value=Stable) @NotNull String getTopic()
@Stability(value=Stable) @Nullable default String getKey()
@Stability(value=Stable) @Nullable default String getPartition()
@Stability(value=Stable) static CfnTopicRule.KafkaActionProperty.Builder builder()
Copyright © 2022. All rights reserved.