@Stability(value=Stable) public static final class KinesisStream.Builder extends Object implements software.amazon.jsii.Builder<KinesisStream>
KinesisStream.| Modifier and Type | Method and Description |
|---|---|
KinesisStream |
build() |
static KinesisStream.Builder |
create(IStream stream) |
KinesisStream.Builder |
message(RuleTargetInput message)
The message to send to the stream.
|
KinesisStream.Builder |
partitionKeyPath(String partitionKeyPath)
Partition Key Path for records sent to this stream.
|
@Stability(value=Stable) public static KinesisStream.Builder create(IStream stream)
stream - This parameter is required.KinesisStream.Builder.@Stability(value=Stable) public KinesisStream.Builder message(RuleTargetInput message)
Must be a valid JSON text passed to the target stream.
Default: - the entire CloudWatch event
message - The message to send to the stream. This parameter is required.this@Stability(value=Stable) public KinesisStream.Builder partitionKeyPath(String partitionKeyPath)
Default: - eventId as the partition key
partitionKeyPath - Partition Key Path for records sent to this stream. This parameter is required.this@Stability(value=Stable) public KinesisStream build()
build in interface software.amazon.jsii.Builder<KinesisStream>Copyright © 2022. All rights reserved.