Interface KinesisPutRecordActionProps
- All Superinterfaces:
CommonActionProps
,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
KinesisPutRecordActionProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)",
date="2024-09-11T18:01:25.984Z")
@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
Nested ClassesModifier 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()}).
- See Also:
-
builder
-