Interface KinesisStreamProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
KinesisStreamProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:47.736Z")
@Stability(Stable)
public interface KinesisStreamProps
extends software.amazon.jsii.JsiiSerializable
Customize the Kinesis Stream Event Target.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.events.*;
import software.amazon.awscdk.services.events.targets.*;
RuleTargetInput ruleTargetInput;
KinesisStreamProps kinesisStreamProps = KinesisStreamProps.builder()
.message(ruleTargetInput)
.partitionKeyPath("partitionKeyPath")
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forKinesisStreamPropsstatic final classAn implementation forKinesisStreamProps -
Method Summary
Modifier and TypeMethodDescriptionstatic KinesisStreamProps.Builderbuilder()default RuleTargetInputThe message to send to the stream.default StringPartition Key Path for records sent to this stream.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getMessage
The message to send to the stream.Must be a valid JSON text passed to the target stream.
Default: - the entire CloudWatch event
-
getPartitionKeyPath
Partition Key Path for records sent to this stream.Default: - eventId as the partition key
-
builder
- Returns:
- a
KinesisStreamProps.BuilderofKinesisStreamProps
-