Interface KinesisPutRecordActionProps
- All Superinterfaces:
CommonActionProps
,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
KinesisPutRecordActionProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-27T16:51:07.675Z")
@Stability(Experimental)
public interface KinesisPutRecordActionProps
extends software.amazon.jsii.JsiiSerializable, CommonActionProps
(experimental) Configuration properties of an action for the Kinesis Data stream.
Example:
import software.amazon.awscdk.services.kinesis.*; Stream stream = new Stream(this, "MyStream"); TopicRule topicRule = TopicRule.Builder.create(this, "TopicRule") .sql(IotSql.fromStringAsVer20160323("SELECT * FROM 'device/+/data'")) .actions(List.of( KinesisPutRecordAction.Builder.create(stream) .partitionKey("${newuuid()}") .build())) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forKinesisPutRecordActionProps
static final class
An implementation forKinesisPutRecordActionProps
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
(experimental) The partition key used to determine to which shard the data is written.Methods inherited from interface software.amazon.awscdk.services.iot.actions.alpha.CommonActionProps
getRole
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getPartitionKey
(experimental) The partition key used to determine to which shard the data is written.The partition key is usually composed of an expression (for example, ${topic()} or ${timestamp()}).
-
builder
-