Class KinesisStreamProps
Customize the Kinesis Stream Event Target.
Inheritance
System.Object
KinesisStreamProps
Implements
Namespace: Amazon.CDK.AWS.Events.Targets
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class KinesisStreamProps : Object, IKinesisStreamProps
Syntax (vb)
Public Class KinesisStreamProps
Inherits Object
Implements IKinesisStreamProps
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Events;
using Amazon.CDK.AWS.Events.Targets;
RuleTargetInput ruleTargetInput;
var kinesisStreamProps = new KinesisStreamProps {
Message = ruleTargetInput,
PartitionKeyPath = "partitionKeyPath"
};
Synopsis
Constructors
KinesisStreamProps() |
Properties
Message | The message to send to the stream. |
PartitionKeyPath | Partition Key Path for records sent to this stream. |
Constructors
KinesisStreamProps()
public KinesisStreamProps()
Properties
Message
The message to send to the stream.
public RuleTargetInput Message { get; set; }
Property Value
Remarks
Must be a valid JSON text passed to the target stream.
Default: - the entire CloudWatch event
PartitionKeyPath
Partition Key Path for records sent to this stream.
public string PartitionKeyPath { get; set; }
Property Value
System.String
Remarks
Default: - eventId as the partition key