Interface IKinesisStreamPutRecordProps
(experimental) Properties for a Kinesis Data Streams Target.
Inherited Members
Namespace: Amazon.CDK.AWS.Scheduler.Targets.Alpha
Assembly: Amazon.CDK.AWS.Scheduler.Targets.Alpha.dll
Syntax (csharp)
public interface IKinesisStreamPutRecordProps : IScheduleTargetBaseProps
Syntax (vb)
Public Interface IKinesisStreamPutRecordProps
Inherits IScheduleTargetBaseProps
Remarks
Stability: Experimental
ExampleMetadata: infused
Examples
using Amazon.CDK.AWS.Kinesis;
var stream = new Stream(this, "MyStream");
new Schedule(this, "Schedule", new ScheduleProps {
Schedule = ScheduleExpression.Rate(Duration.Minutes(60)),
Target = new KinesisStreamPutRecord(stream, new KinesisStreamPutRecordProps {
PartitionKey = "key"
})
});
Synopsis
Properties
PartitionKey | (experimental) The shard to which EventBridge Scheduler sends the event. |
Properties
PartitionKey
(experimental) The shard to which EventBridge Scheduler sends the event.
string PartitionKey { get; }
Property Value
System.String
Remarks
The length must be between 1 and 256.
Stability: Experimental