Interface IKinesisPutRecordActionProps
(experimental) Configuration properties of an action for the Kinesis Data stream.
Inherited Members
Namespace: Amazon.CDK.AWS.IoT.Actions.Alpha
Assembly: Amazon.CDK.AWS.IoT.Actions.Alpha.dll
Syntax (csharp)
public interface IKinesisPutRecordActionProps : ICommonActionProps
Syntax (vb)
Public Interface IKinesisPutRecordActionProps
Inherits ICommonActionProps
Remarks
Stability: Experimental
ExampleMetadata: infused
Examples
using Amazon.CDK.AWS.Kinesis;
var stream = new Stream(this, "MyStream");
var topicRule = new TopicRule(this, "TopicRule", new TopicRuleProps {
Sql = IotSql.FromStringAsVer20160323("SELECT * FROM 'device/+/data'"),
Actions = new [] {
new KinesisPutRecordAction(stream, new KinesisPutRecordActionProps {
PartitionKey = "${newuuid()}"
}) }
});
Synopsis
Properties
Partition |
(experimental) The partition key used to determine to which shard the data is written. |
Properties
PartitionKey
(experimental) The partition key used to determine to which shard the data is written.
string PartitionKey { get; }
Property Value
System.
Remarks
The partition key is usually composed of an expression (for example, ${topic()} or ${timestamp()}).
Stability: Experimental