Class KinesisPutRecordAction
(experimental) The action to put the record from an MQTT message to the Kinesis Data stream.
Inheritance
System.Object
KinesisPutRecordAction
Implements
Namespace: Amazon.CDK.AWS.IoT.Actions.Alpha
Assembly: Amazon.CDK.AWS.IoT.Actions.Alpha.dll
Syntax (csharp)
public class KinesisPutRecordAction : DeputyBase, IAction
Syntax (vb)
Public Class KinesisPutRecordAction
Inherits DeputyBase
Implements IAction
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
Constructors
KinesisPutRecordAction(IStream, IKinesisPutRecordActionProps) | |
KinesisPutRecordAction(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
KinesisPutRecordAction(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Constructors
KinesisPutRecordAction(IStream, IKinesisPutRecordActionProps)
public KinesisPutRecordAction(IStream stream, IKinesisPutRecordActionProps props)
Parameters
- stream IStream
The Kinesis Data stream to which to put records.
- props IKinesisPutRecordActionProps
Optional properties to not use default.
Remarks
Stability: Experimental
KinesisPutRecordAction(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected KinesisPutRecordAction(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
KinesisPutRecordAction(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected KinesisPutRecordAction(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props